Date: Mon, 22 Mar 1999 16:03:23 -0500 From: Christopher Michaels <ChrisMic@clientlogic.com> To: 'Jonathan Chen' <jonc@pinnacle.co.nz> Cc: freebsd-questions@FreeBSD.ORG Subject: RE: Changing groups Message-ID: <6C37EE640B78D2118D2F00A0C90FCB441A5FB3@site2s1>
next in thread | raw e-mail | index | archive | help
I did notice something to the effect but I wasn't sure.. my questions is.. does this apply even if the user isn't a member of that group? -Chris > -----Original Message----- > From: Jonathan Chen [SMTP:jonc@pinnacle.co.nz] > Sent: Monday, March 22, 1999 3:54 PM > Cc: freebsd-questions@FreeBSD.ORG > Subject: RE: Changing groups > > On Mon, 22 Mar 1999, Christopher Michaels wrote: > > > Are we talking to permanently change the default GID of new files, or > are we > > talking on a per file basis? > > - To permanently change the default group needed, you would have to > edit > > the password file and change that users group (vipw). > > - To change the group ownership of specific files, just use one of the > > following. > > chgrp <group> <files> > > chown <user>:<group> <files> > > > > Actually, under the BSD file creation semantics; any new file created > in a directory will get the directory's group-id by default. So all > you need to do is to create the directory with the correct group-id > required. > > Jonathan Chen > ------------------------------------------------------------------------ > Do not take life too seriously. > You will never get out of it alive. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB441A5FB3>