Subject: Re: bin/11047: newgrp is missing
To: None <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 04/27/2002 14:24:29
On Thu, Apr 25, 2002 at 05:15:21PM -0600, Rick Kelly wrote:
> Hubert Feyrer said:
> >What exactly is newgrp good for on a system that allows users to be in
> >more than one group at a time?
> On SYSV, using newgrp allows one to create files with a particular group
> ownership. On NetBSD one would use chmod.
I don't think newgrp would help in this case, because the 4.4BSD semantic is
to create new files with the group of the directory if the user is allowed
A newgrp would only help in case of file creation in a directory which groups
is not in the user's group list.
Manuel Bouyer <firstname.lastname@example.org>