Chmod commands

Linux

The UNIX chmod command is used to change the execution permissions of a UNIX file. The  chmod stands for change mode. The chmod command is based on the permissions and the chmod permissions can be assigned either by number or by a letter value.

Owner Group World Meaning
7 7 7 Read + Write + execute
6 6 6 Write + execute
5 5 5 Read + execute
4 4 4 read only
2 2 2 write only
1 1 1 Execute only
Owner (u) Group (g) World(o) Meaning
rwx rwx rwx Read + Write + execute
rw rw rw Read + Write
rx rx rx Read + execute
wx wx wx Write + execute
r r r Read only
w w w Write Only
x x x Execute only