Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.internals Subject: Re: What does SUID, SGID and Sticky bits do on inappropriate files? Message-ID: <5128@auspex.auspex.com> Date: 9 Jan 91 18:30:25 GMT References: <1990Dec26.011025.4186@NCoast.ORG> <1990Dec28.061246.29268@kithrup.COM> <5114@auspex.auspex.com> Organization: Auspex Systems, Santa Clara Lines: 19 In article <5114@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >>>SunOS and maybe other Unixes use g+s on a directory to produce sticky gid's: >>>files created in the directory inherit the directory's gid instead of the >>>creating process's egid. >> >>Wow. SCO does that too (just checked). Neat... 8-) (I *honestly* didn't >>know it did it! *Really*!) > >4.3BSD added this (it may have appeared in other systems before that), >and SunOS and S5R3.x (for some value of "x", I think the correct value >is 2) picked it up from there. Brain fault - core dumped. Said brain saw "sticky" and "directory" and immediately read "sticky directory", not noting that the bit being talked about was the set-GID bit, rather than the sticky bit. (If "this" is taken as referring to the sticky bit on directories, the statements in the posting in question are correct.)