Owner: read, write · Group: read · Others: no access
Change any permission with the chmod calculator.
| Who | Digit | Letters | Can |
|---|---|---|---|
| Owner (user) | 6 | rw- | read, write |
| Group | 4 | r-- | read |
| Others | 0 | --- | no access |
Each digit is the sum of read (4), write (2) and execute (1).
Config files readable by a service’s group but not by other users.
chmod 640 sets the permissions to rw-r-----: the owner can read, write, the group can read and others can no access.
Config files readable by a service’s group but not by other users.
640 is rw-r----- (shown by ls -l as -rw-r----- for a file or drw-r----- for a folder). The symbolic chmod command is chmod u=rw,g=r,o= file.