Unmask Problems - Hoary 5.01

Michael R. Head burner at suppressingfire.org
Mon Jan 2 19:14:09 UTC 2006


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 at suppressingfire.org>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt [0x4C9DA1D0]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060102/fe393343/attachment.sig>


More information about the ubuntu-users mailing list