stickybit
The sticky bit, formally known as the sticky permission bit, is a special file mode in Unix-like operating systems. When set on a directory, it restricts deletion and renaming of the directory’s files to the file’s owner, the directory owner, or the superuser. It is most commonly used on world-writable directories such as /tmp.
In practice, if a directory has the sticky bit set, ordinary users can create or modify files
The sticky bit is one of three special permission bits in the Unix file mode (the others
Historically, the sticky bit on regular files had different meanings in some early Unix systems, but on
Examples: to enable the sticky bit on /tmp with standard permissions, use chmod 1777 /tmp or chmod