sticky bit

A special permission on a directory that lets users delete or rename only their own files inside it, even when everyone may write there.

In more detail

It is shown as t in the last position, as in drwxrwxrwt, and as a leading 1 in octal, as in 1777. /tmp uses it so users cannot remove each other's files. It adds a rule about removing names; it does not replace ordinary read, write and search permissions.

Related terms

Taught in

References