Bug#336214: gdm ignores user and system umask settings

Sam Morris sam at robots.org.uk
Sat Apr 29 00:23:15 UTC 2006

severity 336214 minor

I think that /etc/login.defs is only (reliably) processed by login. Most
of the options are being replaced by PAM modules, which will work for
any PAM-enabled application.

As for /etc/profile and ~/.profile, these are read by login shells, not

You can set your umask with the following methods:

     1. system-wide: use the libpam-umask package [0]
     2. system-wide: call umask from a script in  /etc/X11/Xsession.d
     3. system-wide: call umask from /etc/gdm/Xsession
     4. user-specific: call umask from ~/.gdmrc [1]

[0] currently doesn't work with GDM; see #314791 and #321620
[1] only processed if logging into GNOME, 
    see /etc/X11/Xsession.d/55gnome-session_gnomerc

Sam Morris

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078

More information about the Pkg-gnome-maintainers mailing list