From owner-freebsd-hackers Thu May 30 10:16:42 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA29396 for hackers-outgoing; Thu, 30 May 1996 10:16:42 -0700 (PDT) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA29389 for ; Thu, 30 May 1996 10:16:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.7.5/8.6.12) with SMTP id KAA10566; Thu, 30 May 1996 10:15:00 -0700 (PDT) Message-Id: <199605301715.KAA10566@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: Host localhost [127.0.0.1] didn't use HELO protocol To: "Michael L. VanLoon -- HeadCandy.com" Cc: "Christoph P. Kukulies" , freebsd-hackers@freefall.freebsd.org Subject: Re: newgrp(1) Reply-To: Jason Thorpe From: Jason Thorpe Date: Thu, 30 May 1996 10:15:00 -0700 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 30 May 1996 09:24:50 -0700 "Michael L. VanLoon -- HeadCandy.com" wrote: > This is a SysV-ism. If I'm not mistaken, SysV needs this because you > can only be in one group at a time. This means you need to constantly > newgrp to change group access permissions if you're moving among > multiple groups. > > BSD allows you to be in multiple groups at the same time, so makes > this command pretty much unnecessary. > > This is how I understand it, anyway. I'm sure someone will correct me > if I'm wrong... Actually, POSIX requires it, too. I implemented a newgrp(1) almost a year ago for NetBSD, and forwarded it on to JT (so he could play Standards Cop with it). It's been more-or-less put on the shelf because some other things had higher priority. I do plan, however, on committing it to NetBSD very shortly after 1.2 is released. ----save the ancient forests - http://www.bayarea.net/~thorpej/forest/---- Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: 408.866.1912 NAS: M/S 258-6 Work: 415.604.0935 Moffett Field, CA 94035 Pager: 415.428.6939