Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 16:33:03 +0200
From:      Anton Berezin <tobez@tobez.org>
To:        Chip Norkus <wd@arpa.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Default user directory (adduser) filemode
Message-ID:  <20010913163303.B50048@heechee.tobez.org>
In-Reply-To: <20010913095622.C73129@anduril.org>; from wd@arpa.com on Thu, Sep 13, 2001 at 09:56:22AM -0400
References:  <200109131317.JAA25490@world.std.com> <20010913134223.B389613121@netcom1.netcom.com> <20010913095622.C73129@anduril.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 13, 2001 at 09:56:22AM -0400, Chip Norkus wrote:
> On Thu Sep 13, 2001; 06:42AM -0700 Mike Harding used 1.4K bytes of bandwidth to send the following:
> > 
> > 'adduser' is a perl script, search it for '755' and you will find
> > where the permissions are set, it's trivial to change in the source,
> > although logically this could be a configuration parameter.  The
> > script is in /usr/sbin/adduser.
> > 
> 
> Additionally, if you change your umask, mkdir(2) (which is what is used by
> adduser) will be restricted.  So, if you want files created to be completely

I doubt that.  There umask is set to 022 in the variables() sub, which
is called at the beginning of adduser execution.

\Anton.
-- 
May the tuna salad be with you.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010913163303.B50048>