From owner-freebsd-questions Tue Dec 5 0:32: 3 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 00:32:02 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.102.114]) by hub.freebsd.org (Postfix) with ESMTP id 035DB37B400 for ; Tue, 5 Dec 2000 00:32:02 -0800 (PST) Received: (from mph@localhost) by wopr.caltech.edu (8.11.1/8.11.0) id eB58Vwm29911; Tue, 5 Dec 2000 00:31:58 -0800 (PST) (envelope-from mph) Date: Tue, 5 Dec 2000 01:31:58 -0700 From: Matthew Hunt To: Paul Herman Cc: questions@FreeBSD.ORG Subject: Re: NGROUPS_MAX in sys/syslimits.h Message-ID: <20001205013158.A29828@wopr.caltech.edu> References: <14891.40621.555226.574803@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from pherman@frenchfries.net on Tue, Dec 05, 2000 at 08:57:53AM +0100 Sender: mph@wopr.caltech.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 05, 2000 at 08:57:53AM +0100, Paul Herman wrote: > I never understood the reasoning behind each user having their own > group (with their login name). Does anyone use this to their > advantage? A huge "user" or "users" group that each user belongs to > was always the way to go for me. You make their home directories be owned by their personal group (e.g. mph:mph) and you create groups for collaborative projects to which several users belong. Directories with project files are owned by the project group (e.g. mph:project69). The users run with umask 002 and everything's group writable. The result is that the files in the project's directory are writable by the correct group without the user having to explictly set umask or permissions. The files in the user's home directory are writable only by him, because there's nobody else in his personal group. -- Matthew Hunt * UNIX is a lever for the http://www.pobox.com/~mph/ * intellect. -J.R. Mashey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message