chmod 1777
chmod 1777 gives rwxrwxrwt. Everyone can create files, but only the owner can delete or rename them (the sticky bit). The mode of /tmp.
- Free
- No Sign-Up
- Runs in Your Browser
Owner
Group
Others
Permissions
rwxrwxrwt
Command
chmod 1777 file
Chmod Calculator
chmod 1777 explained
Each digit of 777 is one class of user and adds up read (4), write (2) and execute (1). 7 for the owner is read, write, execute; 7 for the group is read, write, execute; 7 for the others is read, write, execute.
Everyone can create files, but only the owner can delete or rename them (the sticky bit). The mode of /tmp.
1777 lets every user on the server write to the file. On a web server that is how one compromised site or plug-in spreads to others. If something only works with 1777, change the owner with chown instead.
Questions
What does chmod 1777 mean?
Is chmod 1777 safe?
How do I apply 1777 to every directory but not files?
How do I set 1777 recursively?
Free Tools
More tools
Run servers for other people?
Frabs stops the abuse their VMs send out, and keeps your network off blocklists.