The Octal Notation Of Access Permissions (Cont.)
- Each digit is made of 3 binary bits, representing 3 permissions, 'r',
'w' and 'x'.
- Each digit represents 3 permissions, 'r', 'w' and 'x'.
- Thus, '1' represents 'x', '2' represents 'w', and '4' represents 'r'.
- The following table shows the translation of values to permissions:
Value | 'r' | 'w' | 'x' |
0 | - | - | - |
1 | - | - | + |
2 | - | + | - |
3 | - | + | + |
4 | + | - | - |
5 | + | - | + |
6 | + | + | - |
7 | + | + | + |
Originally written by
guy keren