Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 1996 11:15:05 -0400
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        "M.R.Murphy" <mrm@MARMOT.Mole.ORG>
Cc:        bde@zeta.org.au, freebsd-bugs@freefall.freebsd.org
Subject:   Re: bin/1375: Extraneous warning from mv(1)
Message-ID:  <9607101515.AA15173@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199607100538.WAA29432@meerkat.mole.org>
References:  <199607100538.WAA29432@meerkat.mole.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 9 Jul 1996 22:38:09 -0700, "M.R.Murphy" <mrm@MARMOT.Mole.ORG> said:

>   1) cd /tmp; :>xyz would result in xyz owned by mrm, group home,
>      rather than owned by mrm, group bin, that is, not like present
>      *BSD behavior. Like System V, group and owner of newly created
>      file is determined by uid, gid of creator, not by containing directory.

I think I have a better proposal, which is essentially the same as
Bruce's:

1) If the gid of the directory is in cr_groups[], then use it.

2) Otherwise, use cr_groups[0].

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9607101515.AA15173>