Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 07:28:04 -0800
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        Will Andrews <will@physics.purdue.edu>
Cc:        Peter Pentchev <roam@orbitel.bg>, arch@FreeBSD.ORG
Subject:   Re: no newgroup/newgrp in FreeBSD? 
Message-ID:  <200101161528.f0GFSPE22987@cwsys.cwsent.com>
In-Reply-To: Your message of "Tue, 16 Jan 2001 09:41:33 EST." <20010116094133.B1858@puck.firepipe.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101161528.f0GFSPE22987>