Linux – Octal Permissions

Number Octal Permission Representation

0 No permission

1 Execute permission

2 Write permission

3 Execute and write permission: 1 (execute) + 2 (write) = 3

4 Read permission

5 Read and execute permission: 4 (read) + 1 (execute) = 5

6 Read and write permission: 4 (read) + 2 (write) = 6

7 All permissions: 4 (read) + 2 (write) + 1 (execute) = 7