Date: Fri, 31 May 1996 13:17:44 +0200 (MET DST) From: "Georg-W. Koltermann" <gwk@racer.dkrz.de> To: eischen@vigrid.com Cc: kuku@gilberto.physik.rwth-aachen.de, michaelv@HeadCandy.com, freebsd-hackers@freefall.freebsd.org Subject: Re: newgrp(1) Message-ID: <199605311117.NAA20060@racer.dkrz.de> In-Reply-To: <9605302018.AA11531@pcnet1.pcnet.com> (eischen@vigrid.com)
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Daniel" == Daniel Eischen <eischen@vigrid.com> writes:
Daniel>
Daniel> The problem is not when you want to reference files that
Daniel> already exist, but when you want to create files with a
Daniel> specific group so that only others in that group can
Daniel> reference them.
Daniel>
Daniel> We use the newgrp command on our HP systems for various
Daniel> projects with multiple developers. Each project usually
Daniel> usually has at least one group associated with it. By
Daniel> using newgrp before we start any processes that can create
Daniel> files, we're assured that the files have the correct
Daniel> permissions (group). GUI-based systems, like Interleaf,
Daniel> Atria ClearCase, compilers, etc, can then be used to
Daniel> create files with the correct group. This is really
Daniel> important when you're not granted root permissions on the
Daniel> systems; you can't hunt around and manually set the group
Daniel> on all files in the project directory because you don't
Daniel> own them.
Daniel>
Daniel> Unless there's another way of doing this in FreeBSD, I'd
Daniel> like to see the newgrp command brought in. My $.02.
Daniel>
Daniel> Dan Eischen eischen@pcnet.com
Daniel>
This is BSD. New files inherit the group OF THE DIRECTORY WHERE THEY
ARE CREATED [as long as the group of that directory is in the
authorized group list of the creating process]. To the contrary, on
SysV new files inherit the primary group of the creating process.
I would still believe that you don't need newgrp(1).
Georg-W. Koltermann, gwk@cray.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605311117.NAA20060>
