Subject: Re: CVS commit: src/usr.bin
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: source-changes
Date: 06/22/2007 22:09:28
In article <20070621191718.GS20037@snowdrop.l8s.co.uk>,
David Laight  <david@l8s.co.uk> wrote:
>On Thu, Jun 21, 2007 at 06:12:03PM +0200, Hubert Feyrer wrote:
>> On Thu, 21 Jun 2007, Antti Kantee wrote:
>> >As a purely personal remark, I'm glad we finally have newgrp(1), as I've
>> >missed it on a couple occasions.
>> 
>> I thought newgrp(1) was superseded by supplementary groups, apparently 
>> it's not.
>> 
>> Can you remind me where one uses newgrp(1) today - creating files with a 
>> special group?
>
>Not with NetBSD's group semantics - files always have the directory's
>group.
>
>My recollection of the earlier discussions - a lot of it is on some PR
>somewhere - is that the outcome was that it wasn't needed, and wouldn't
>be added.

This might change in the future. Plus newgrp is required by POSIX and
it is useful because of the too many nfs groups problem as a special
hack.

christos