In the shortcut the rights align with an octal number where the first bit is the read bit the second bit is the write bit and the third bit is the execute bit
Description |
The Right |
Octal Number |
Owner |
Group |
Other (World) |
No Access |
_ _ _ |
0 - 000 |
000 |
000 |
000 |
Execute Only |
_ _ X |
1 - 001 |
100 |
010 |
001 |
Write Only |
_ W _ |
2 - 010 |
200 |
020 |
002 |
Write & Execute |
_ W X |
3 - 011 |
300 |
030 |
003 |
Read Only |
R _ _ |
4 - 100 |
400 |
040 |
004 |
Read & Execute |
R _ X |
5 - 101 |
500 |
050 |
005 |
Read & Write |
R W _ |
6 - 110 |
600 |
060 |
006 |
Read, Write, Execute |
R W X |
7 - 111 |
700 |
070 |
007 |
Creating a chmod octal rights code
Grouping the 3 codes together