Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 14:48:15 -0500 (EST)
From:      Rich Fox <rich@foxengines.net>
To:        "Phillip Smith (mailing list)" <lists@3bags.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FW: A question about umask, groups and classes
Message-ID:  <20030131144709.G143-100000@test_server.no.domain>
In-Reply-To: <007101c2c948$c69384a0$aeb423cf@3bagsmedia>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I believe in my adventures, this successfully worked by placing the
umask command in /etc/login.conf...

default:\
        :copyright=/etc/COPYRIGHT:\
        :welcome=/etc/motd:\
	[snip]
        :priority=0:\
        :ignoretime@:\
        :umask=002:

Rich.

 | Rich Fox
 | rich@foxengines.net
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050

On Fri, 31 Jan 2003, Phillip Smith (mailing list) wrote:

>
> ** re-post **
>
> Hi there,
>
> What I'm trying to accomplish is
> - to have a group of users called 'developers'
> - read/write access to all files created by any member of that group by
> each member of that group.
>
> I believe in the past I've accomplished this via a umask of 002, but I
> don't recall where I put that to have it automatically assigned to all
> users in a certain group? Also, I've stumbled on the whole login.conf
> stuff, which seems to speak to 'classes' of users? I've never used user
> classes, is this a better way to set this?
>
> Preferably, I don't want to have to set the GUID on every folder the
> group is jointly working on. I'd rather have all files group
> readable/writeable by default. Are there any reasons not to do this?
>
> Many thanks in advance,
>
> phillip.
>
>
> 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
>
>


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?20030131144709.G143-100000>