Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 1996 08:26:29 -0700
From:      "M.R.Murphy" <mrm@MARMOT.Mole.ORG>
To:        mrm@mole.Mole.ORG, wollman@lcs.mit.edu
Cc:        bde@zeta.org.au, freebsd-bugs@freefall.freebsd.org
Subject:   Re: bin/1375: Extraneous warning from mv(1)
Message-ID:  <199607101526.IAA01005@meerkat.mole.org>

next in thread | raw e-mail | index | archive | help
> >   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].
>

Short and sweet. Also more "BSDish". I think it's better than what
I suggested in a BSD environment, and I think it gets rid of the
/tmp owned by bin problem. It still leaves the "management of a
project by gid" having to remember to chgrp to the project group
in the project directory on a move or copy from /tmp, but that's
no big deal (I think). Suitable negative feedback for forgetting.
--
Mike Murphy  mrm@Mole.ORG  +1 619 598 5874
Better is the enemy of Good



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