autoconf
[Top][All Lists]
Advanced

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

Re: set owner/group on FreeBSD


From: Eric Siegerman
Subject: Re: set owner/group on FreeBSD
Date: Fri, 20 Sep 2002 11:21:57 -0400
User-agent: Mutt/1.2.5i

On Thu, Sep 19, 2002 at 10:17:37PM -0700, Paul Eggert wrote:
> > From: Bill Moseley <address@hidden>
> > 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.        address@hidden
|  |  /
The acronym for "the powers that be" differs by only one letter
from that for "the pointy-haired boss".




reply via email to

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