From owner-freebsd-bugs Wed Jul 10 08:15:29 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA18196 for bugs-outgoing; Wed, 10 Jul 1996 08:15:29 -0700 (PDT) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA18188 for ; Wed, 10 Jul 1996 08:15:27 -0700 (PDT) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA15173; Wed, 10 Jul 1996 11:15:05 -0400 Date: Wed, 10 Jul 1996 11:15:05 -0400 From: Garrett Wollman Message-Id: <9607101515.AA15173@halloran-eldar.lcs.mit.edu> To: "M.R.Murphy" Cc: bde@zeta.org.au, freebsd-bugs@freefall.freebsd.org Subject: Re: bin/1375: Extraneous warning from mv(1) In-Reply-To: <199607100538.WAA29432@meerkat.mole.org> References: <199607100538.WAA29432@meerkat.mole.org> Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < 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