Wednesday, 21 December 2011


Normally users with write permissions to a directory can delete any file in that directory regardless of that file's permisssions or ownership.

With the stickybit set on a directory , only the owner of a file can delete the file

Setting the stickybit prevents users from deleting each others' files,even though they have full access to the directory.


ls -ld /tmp

 drwxrwxrwt  12 root root 12288 Dec 21 12:18 /tmp

No comments:

Post a Comment

Tweets by @sriramperumalla