Linux File Permissions
The following table illustrates the value of each digit that represents the access permission for particular users ( owner, user group, or everyone else):
| Value | Permission |
|---|---|
| 0 | cannot read, write or execute |
| 1 | can only execute |
| 2 | can only write |
| 3 | can write and execute |
| 4 | can only read |
| 5 | can read and execute |
| 6 | can read and write |
| 7 | can read, write and execute |