$ grep '^ *[^#].*pam_umask' /etc/pam.d/* /etc/pam.d/common-session:session optional pam_umask.so /etc/pam.d/common-session-noninteractive:session optional pam_umask.so
Whatever sources of confusion : Even with 'umask=007' in the 'gecos' field of '/etc/passwd', 'gnome- terminal' currently starts with umask=022. I confirm that this issue is a security issue, which must be corrected. IMHO, the best fix would be that GNOME systematically uses the standard 'pam_umask' module. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1685754 Title: gnome-terminal unduly forces umask=0022 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1685754/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs