$ ./guess_the_languageLinux CLI
Linux CLI · hard · #12

What does the trailing t enforce on /tmp?

drwxrwxrwt 18 root root 4096 /tmp
  1. Only a file's owner may delete it
  2. Files are wiped clean at every reboot
  3. New files inherit the root group
  4. Only root may create new files
The sticky bit on a world-writable directory stops users from deleting or renaming files they do not own.
Play Linux CLI ▸