autoconf
[Top][All Lists]
Advanced

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

Re: Your 2000-01-10 change CVS src/Makefile.am


From: Eric Siegerman
Subject: Re: Your 2000-01-10 change CVS src/Makefile.am
Date: Fri, 19 Jan 2001 19:43:08 -0500
User-agent: Mutt/1.2.5i

On Fri, Jan 19, 2001 at 06:19:25PM -0600, Raja R Harinath wrote:
> "Derek R. Price" <address@hidden> 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.        address@hidden
|  |  /
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]