Owner: read, write, execute · Group: read, execute · Others: execute
Change any permission with the chmod calculator.
| Who | Digit | Letters | Can |
|---|---|---|---|
| Owner (user) | 7 | rwx | read, write, execute |
| Group | 5 | r-x | read, execute |
| Others | 1 | --x | execute |
Each digit is the sum of read (4), write (2) and execute (1).
Programs others may run but not list or read.
chmod 751 sets the permissions to rwxr-x--x: the owner can read, write, execute, the group can read, execute and others can execute.
Programs others may run but not list or read.
751 is rwxr-x--x (shown by ls -l as -rwxr-x--x for a file or drwxr-x--x for a folder). The symbolic chmod command is chmod u=rwx,g=rx,o=x file.