496
edits
Line 88: | Line 88: | ||
Permission Binary Octal | Permission Binary Octal | ||
rwx 111 7 | rwx 111 7 | ||
rw- 110 6 | rw- 110 6 | ||
Line 98: | Line 97: | ||
--- 000 0 | --- 000 0 | ||
So all you have to do is stick the numbers together for the three groups, some examples would be | So all you have to do is stick the numbers together for the three groups, some examples would be rwxr-xr-x, which is rwx r-x r-x, or 111 101 101, or in octal, 755 which means that to set the permission for rxwr-xr-x, you type: | ||
rwxr-xr-x which is rwx r-x r-x or 111 101 101 or in octal, 755 which means that to set the permission for rxwr-xr-x, you type: | |||
chmod 755 filename | chmod 755 filename |
edits