Date: Wed, 27 Jan 2010 19:33:31 +0100 From: Erik Norgaard <norgaard@locolomo.org> To: freebsd-questions@freebsd.org Subject: Re: "adduser" and single-user groups Message-ID: <4B6086FB.1010809@locolomo.org> In-Reply-To: <20100127120511.A42534@starfire.mn.org> References: <20100127120511.A42534@starfire.mn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27/01/10 19.05, John wrote: > Could someone point me in the direction of enlightenment with regard > to the value add of the "group per user" approach that adduser > uses? Is that a FreeBSD thing, or a *BSD thing, or a unix-like-universe > thing, or what? Many systems do this AFAIK. IIRC, the point is that you can set umask to 007 or 002 and your home directory with owner you, and group you will remain private or at least only writable by you. The umasks 007 or 002 are useful if you have some shared folder where you have multiple users with write access, say: drwxrwxr-x root:users /home/share With umask 002, when files are created in this directory by another user in the users group, all users in this group can edit that file, no need to modify permissions. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B6086FB.1010809>