On Fri, Jan 19, 2001 at 06:19:25PM -0600, Raja R Harinath wrote:
> "Derek R. Price" <[EMAIL PROTECTED]> writes:
> > drwxrwxrwt 6 root wheel 512 Jan 19 15:29 /tmp
> ^
>
> There's no 'setgid' bit on the /tmp directory. Does BSD still exhibit
> 'setgid' behaviour?
Yes. On the BSD's I've used (Free and Net of various versions)
newly-created files always inherit the parent directory's gid;
having it controlled by "setgid" seems to be a SysV'ism. (SysV
won't propagate the gid if it isn't one of the process's gid's; I
can't remember whether BSD also has this restriction, or whether
it *always*, unconditionally, propagates it. I think the
latter...)
> I don't thing the sticky tag changes 'setgid'
> behaviour of a directory.
It doesn't; it prevents you from deleting other peoples' files
(even if you have write permission on the directory).
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. [EMAIL PROTECTED]
| | /
Interviewer: You've been looking at the stars all your life:
Is there anything in astrology?
Arthur C. Clarke: It's utter nonsense. But I'm a Sagittarius,
so I'm naturally skeptical.