On Thu, Sep 19, 2002 at 10:17:37PM -0700, Paul Eggert wrote:
> > From: Bill Moseley <[EMAIL PROTECTED]>
> > Date: Thu, 19 Sep 2002 19:53:57 -0700
> >
> > I suppose I should know this, but what is it that's making the guid of
> > files created in /tmp the guid of "wheel" (guid:0) instead of the users
> > guid? Is that just only on BSD?
>
> Yes, it's the BSD tradition. On other systems (e.g. Solaris), you can
> select the BSD tradition by setting the setgid bit of the directory.
Specifically:
- in the cases Paul mentioned, a newly created file inherits
its group from its parent directory.
- on SysV/POSIX'ish systems, in a directory *without* setgid, a
file's group is initialized to the creating process's
effective gid; that's the behaviour you're used to seeing.
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. [EMAIL PROTECTED]
| | /
The acronym for "the powers that be" differs by only one letter
from that for "the pointy-haired boss".