From owner-freebsd-hackers Fri May 31 03:34:06 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA04296 for hackers-outgoing; Fri, 31 May 1996 03:34:06 -0700 (PDT) Received: from nda.nda.com (fw1.NDA.COM [204.57.47.254]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA04289 for ; Fri, 31 May 1996 03:34:03 -0700 (PDT) Received: (kevin@localhost) by nda.nda.com (8.7.4/8.6.4) id GAA05588; Fri, 31 May 1996 06:31:04 -0400 (EDT) From: Kevin Lyda Message-Id: <199605311031.GAA05588@nda.nda.com> Subject: Re: newgrp(1) To: winter@jurai.net (Matthew N. Dodd) Date: Fri, 31 May 1996 06:31:03 -0400 (EDT) Cc: michaelv@HeadCandy.com, kuku@gilberto.physik.rwth-aachen.de, freebsd-hackers@freefall.freebsd.org In-Reply-To: from "Matthew N. Dodd" at May 30, 96 07:48:30 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > [sasami]:/tmp> id winter > uid=128(winter) gid=20(staff) groups=20(staff) 0(wheel) 120(www) \ > 126(ircd) 800(jurai) 801(halo) 803(brmug) 805(bofh) > [sasami]:/tmp> touch test > [sasami]:/tmp> ls -la test > -rw-r--r-- 1 winter nobody 0 May 30 19:46 test > [sasami]:/tmp> chgrp jurai test > [sasami]:/tmp> ls -la test > -rw-r--r-- 1 winter jurai 0 May 30 19:46 test > [sasami]:/tmp> chgrp bofh test > [sasami]:/tmp> ls -la test > -rw-r--r-- 1 winter bofh 0 May 30 19:46 test i'm not sure what this proves. anyway, a newgrp command might be useful in terms of file creation. if you had a group of users that all shared membership in group foo, a single newgrp at the start of the day would help avoid access denied issues. kevin