Re: what is the sticky bit?
In article <Pine.LNX.3.96.971001070937.5827Afirstname.lastname@example.org> you write:
>I know this is a really stupid question.. but what is the sticky bit?
It's the tenth bit of the 12 bits of permission flags that are part of an inode (or file, though they're not really interchangable). The bits are
Set uid, set gid, Sticky, read,write,execute for owner, rwx group, rwx other
The sticky bit nowadays only has a function on directories, where it,
when set, prevents anyone but the owner of a file in the directory from
removing that file. It's commonly set on /tmp, /var/tmp, /var/spool/mail,
and other directories where many people need permission to create files,
but should be prevented from interfering with other peoples files.
-- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist | Mud at Kingdoms | email@example.com
NetGuide Scandinavia | telnet kingdoms.se 1812 | Fax: +46 31 50 79 39
http://www.netg.se | | Tel: +46 31 50 79 40
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .