Octal Modes
To construct each octal digit, add the value of each permission that you want to grant:
- Read: 4
- Write: 2
- Execute: 1
For example, 7 which provides read, write, and execute permissions because 4+2+1=7.
To construct each octal digit, add the value of each permission that you want to grant:
For example, 7 which provides read, write, and execute permissions because 4+2+1=7.