From owner-freebsd-questions Mon Mar 22 12:53:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 2C3FB15204 for ; Mon, 22 Mar 1999 12:53:47 -0800 (PST) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id IAA26768 for ; Tue, 23 Mar 1999 08:54:25 +1200 (NZST) Date: Tue, 23 Mar 1999 08:54:25 +1200 (NZST) From: Jonathan Chen Cc: freebsd-questions@FreeBSD.ORG Subject: RE: Changing groups In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB441A5FAF@site2s1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > chown : > 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