Owner: read, write · Group: read · Others: read
Change any permission with the chmod calculator.
| Who | Digit | Letters | Can |
|---|---|---|---|
| Owner (user) | 6 | rw- | read, write |
| Group | 4 | r-- | read |
| Others | 4 | r-- | read |
Each digit is the sum of read (4), write (2) and execute (1).
Normal files on a web server (HTML, CSS, images, config the server only reads).
chmod 644 sets the permissions to rw-r--r--: the owner can read, write, the group can read and others can read.
Normal files on a web server (HTML, CSS, images, config the server only reads).
644 is rw-r--r-- (shown by ls -l as -rw-r--r-- for a file or drw-r--r-- for a folder). The symbolic chmod command is chmod u=rw,g=r,o=r file.