Owner: read, write, execute · Group: read, write, execute · Others: read, write, execute
Security warning: 777 lets any user on the system modify these files. On web servers use 755 for folders and 644 for files and fix ownership with chown instead.
Change any permission with the chmod calculator.
| Who | Digit | Letters | Can |
|---|---|---|---|
| Owner (user) | 7 | rwx | read, write, execute |
| Group | 7 | rwx | read, write, execute |
| Others | 7 | rwx | read, write, execute |
Each digit is the sum of read (4), write (2) and execute (1).
Almost never appropriate — anyone can change or replace the file.
chmod 777 sets the permissions to rwxrwxrwx: the owner can read, write, execute, the group can read, write, execute and others can read, write, execute.
Almost never appropriate — anyone can change or replace the file.
777 is rwxrwxrwx (shown by ls -l as -rwxrwxrwx for a file or drwxrwxrwx for a folder). The symbolic chmod command is chmod u=rwx,g=rwx,o=rwx file.