[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sticky bit



Henrique de Moraes Holschuh wrote:

> On Thu, 17 Mar 2005, JEMF wrote:
>> Many people says that the stick bit is a feature to keep an executable
>> in the memory.
> 
> Not in Linux, and I doubt it works like that in any modern Unix, either,
> but I could be wrong.

It is commonly used on directories now -- especially /tmp -- to keep users 
from deleting files they don't own from directories on which they have 
write-permission.

$ ls -ld /tmp 
drwxrwxrwt   12 root     root         4096 Mar 18 13:04 /tmp/



Reply to: