From owner-freebsd-questions Mon Mar 22 10:30:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 01E0614BE2 for ; Mon, 22 Mar 1999 10:30:45 -0800 (PST) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Mon, 22 Mar 1999 13:30:33 -0500 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB441A5FAF@site2s1> From: Christopher Michaels To: freebsd-questions@FreeBSD.ORG Subject: RE: Changing groups Date: Mon, 22 Mar 1999 13:31:19 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 chown : -Chris > -----Original Message----- > From: Stefano Riva [SMTP:sriva@alice.it] > Sent: Monday, March 22, 1999 1:10 PM > To: freebsd-questions@FreeBSD.ORG > Subject: Re: Changing groups > > At 09.46 22/03/99 -0800, you wrote: > >that file gets a group ownership assigned. If you are a > >member of several groups, only one of those groups gets > >used to assign group ownership of the files you create. I > >believe the question asked was how to get files created > >by you to have a different group ownership. > >Unfortunately, I can't answer the question. I don't know > >of a BSD equivalent to newgrp. > > AFAIK, there isn't one. Anyway, the admin can always do a vipw and > change > the "main" group ID of the user. > > --- > > Stefano Riva > Software Engineer - System Administrator > Informazioni Editoriali I.E. Srl > Phone +39-027528400, Fax +39-027528451 > Email sriva@alice.it > > > 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