File permissions · modechmod 1777 — rwxrwxrwt
What chmod 1777 (rwxrwxrwt) means, who is allowed to do what, and when these permissions are used: /tmp: everyone writes, only the file's owner deletes.
Open in the calculator01
What breaks
02
Easily confused with
03
Commands for this case
chmod 1777 /var/tmp
a shared directory with the sticky bit
chmod +t /srv/shared
add sticky to permissions that are already set
Work out other permissions
The calculator opens on this mode: checkboxes, octal and symbolic notation, an ls -l line and the ready command.
Updated