Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 1996 06:31:03 -0400 (EDT)
From:      Kevin Lyda <kevin@NDA.COM>
To:        winter@jurai.net (Matthew N. Dodd)
Cc:        michaelv@HeadCandy.com, kuku@gilberto.physik.rwth-aachen.de, freebsd-hackers@freefall.freebsd.org
Subject:   Re: newgrp(1)
Message-ID:  <199605311031.GAA05588@nda.nda.com>
In-Reply-To: <Pine.BSI.3.93.960530194559.8571L-100000@sasami> from "Matthew N. Dodd" at May 30, 96 07:48:30 pm

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



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