Sunday, September 28, 2008

Sticky Bit

A sticky bit is set on a directory to prevent unwanted users from removing contents within the directory.


It is commonly set on /tmp directory

root@xyz:~# chmod +t /usr/local/tmp

You can read the following articles for more information

  1. Sticky bit
  2. What is Sticky Bit
  3. The sticky bit and directories

No comments:

Free Advertising