ubuntu-users@lists.ubuntu.com
[Top] [All Lists]

Re: Unmask Problems - Hoary 5.01

Subject: Re: Unmask Problems - Hoary 5.01
From: "Michael R. Head"
Date: Mon, 02 Jan 2006 14:14:09 -0500
On Mon, 2006-01-02 at 12:53 -0600, Bobby Sanders wrote:
> I want my default unmask to be 002 for all the users on my small office
> system.  I have tried changing it in /etc/login.defs, i.e I changed the
> line;
> 
> UNMASK        022
> 
> to
> 
> UNMASK        002
> 
> rebooted, created a new file and the permissions were still -rw-r--r--
> 
> What am I missing?  I know this has worked on other *nixs in the
> past!  :(

Well, first of all, that should be UMASK, not UNMASK, second of all,
that line is by default commented out, so maybe you have to uncomment
it. Third of all, double check that you aren't setting a umask in
your .bash_profile or .bashrc or /etc/bash.bashrc.

mike

> 
> Thanks,
> 
> Bobby Sanders
> 
-- 
Michael R. Head <burner@xxxxxxxxxxxxxxxxxxx>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt [0x4C9DA1D0]
-- 
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
<Prev in Thread] Current Thread [Next in Thread>