Chmod
From WL-HDD Wiki
- Chmod Permissions are calculated using the table below.
| Access Type
| User
| Group
| Other
|
| Read
| 4
| 4
| 4
|
| Write
| 2
| 2
| 2
|
| Execute
| 1
| 1
| 1
|
| Total
| 7
| 7
| 7
|
- For each user (user, group, other), a 1 digit number represents the access rights.
- You therefore end up with three digits, if all rights are given then these are represented by 777 (7 user, 7 group, 7 other).
- Each 7 is calculated from (4+2+1). If you wish to remove a right, you remove the relevant number from the sum.
- Hence, for Read and Execute only, the sum is (4 + 1) so 5.