From owner-freebsd-arch Tue Jan 16 7:30:31 2001 Delivered-To: freebsd-arch@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 38ED937B401 for ; Tue, 16 Jan 2001 07:30:12 -0800 (PST) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id HAA03067; Tue, 16 Jan 2001 07:29:21 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda03064; Tue Jan 16 07:29:13 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.2/8.9.1) id f0GFT8j13755; Tue, 16 Jan 2001 07:29:08 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdc13750; Tue Jan 16 07:28:26 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.2/8.9.1) id f0GFSPE22987; Tue, 16 Jan 2001 07:28:25 -0800 (PST) Message-Id: <200101161528.f0GFSPE22987@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdy22975; Tue Jan 16 07:28:04 2001 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.2-RELEASE X-Sender: cy To: Will Andrews Cc: Peter Pentchev , arch@FreeBSD.ORG Subject: Re: no newgroup/newgrp in FreeBSD? In-reply-to: Your message of "Tue, 16 Jan 2001 09:41:33 EST." <20010116094133.B1858@puck.firepipe.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Jan 2001 07:28:04 -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010116094133.B1858@puck.firepipe.net>, Will Andrews writes: > On Tue, Jan 16, 2001 at 04:22:19PM +0200, Peter Pentchev wrote: > > http://ringwraith.online.bg/~roam/devel/sysutils/newgrp-1.0.tar.gz > [..] > > Sorry for being ignorant, but what's the difference between this and the > pw(8) group operations? Newgrp(1) is a SYSV thing and doesn't fit in the Berkeley paradigm. Under SYSV files/directories are created with the primary group that a process is running under. Under BSD (and SYSV under a directory with the sticky bit set) the group ownership of a created file/directory is determined by the group of the directory under which the file/directory is to be created. In short, newgrp is not needed on a BSD system, as it would accomplish nothing in regards file creation group ownership criteria, which is opposite to SYSV semantics. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message