From owner-freebsd-questions Sat Mar 27 11:45:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f212.hotmail.com [207.82.251.103]) by hub.freebsd.org (Postfix) with SMTP id 160AA15248 for ; Sat, 27 Mar 1999 11:45:52 -0800 (PST) (envelope-from neiloosten@hotmail.com) Received: (qmail 55132 invoked by uid 0); 27 Mar 1999 19:45:23 -0000 Message-ID: <19990327194523.55131.qmail@hotmail.com> Received: from 199.71.188.22 by www.hotmail.com with HTTP; Sat, 27 Mar 1999 11:45:17 PST X-Originating-IP: [199.71.188.22] From: "Neil Oosten" To: gjb@comkey.com.au Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: Changing groups Date: Sat, 27 Mar 1999 14:45:17 EST Mime-Version: 1.0 Content-type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just an update: Dan and Greg and some others all had it right. I must have been reading a Sys V page or something. I checked it out and the set up as it is works just fine. I must have been confused. Thanks to those of you who pointed me in the right direction. -- Neil >> Here's my situation: I want have a user who is a member of three >> groups--say they are radio, tv, and newspaper. When the user logs in the >> group is set to radio, but then he has to go edit something for radio. >> How do I change the user's group from newspaper to radio. > >The concept of a user's default belongs more to SysV than BSD. > >Under BSD, the group of a newly-created file is determined by >the group of the directory it is created in. To change the >group of newly created files in a directory, use chgrp on the >directory; to change the group of files already created in a >directory, use chgrp on the files (or chgrp -R on the directory >if all the descendants of that directory are intended to be >affected by the command). > >-- >Greg Black <gjb@acm.org> > > Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message