umask dilemma

Dieter Schicker dieter.schicker at
Sat Jan 13 18:32:37 UTC 2007


thanks for your answer but it still doesn't work.

>> session required umask=006
> You want to set the umask to 007, otherwise directories will get mode
> 771 instead of 770.

Oh yes, thanks!

> Probably the 'umask 022' in /etc/profile overrides your pam_umask
> setting.  Remove it from /etc/profile and try again.

Removed it but I still get 644 permissions. Even if I hardcode "umask
007" in /etc/login.defs and /etc/bash.bashrc and /etc/profile I get 644
... Event if I put it into the users ~/.bashrc or ~/.bash_profile I get
644. I'm getting frustrated as you can imagine ... ;-)

Also grep'd for "umask" whereever it seems useful (home directory, /etc
directory, ...) with no success.

Any further ideas?


More information about the ubuntu-users mailing list