Owner: read, write · Group: no access · Others: no access
Change any permission with the chmod calculator.
| Who | Digit | Letters | Can |
|---|---|---|---|
| Owner (user) | 6 | rw- | read, write |
| Group | 0 | --- | no access |
| Others | 0 | --- | no access |
Each digit is the sum of read (4), write (2) and execute (1).
Private files: SSH private keys, .env files, credentials.
chmod 600 sets the permissions to rw-------: the owner can read, write, the group can no access and others can no access.
Private files: SSH private keys, .env files, credentials.
600 is rw------- (shown by ls -l as -rw------- for a file or drw------- for a folder). The symbolic chmod command is chmod u=rw,g=,o= file.