Package: bash Version: 4.1-3 Severity: minor Hi, /etc/skel/.profile contains the paragraph: # the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the libpam-umask package. #umask 022 However, /etc/profile declares # The default umask is now handled by pam_umask. # See pam_umask(8) and /etc/login.defs. Even if the pointer in .profile make sense (I've got no idea how old it is), going through /etc/profile probably does not (but the comment in /etc/profile is definitely useful, as it's a change from lenny).
The file /etc/skel/.profile still states that "the default umask is set in /etc/profile". However, the comment in /etc/profile stating that "the default umask is now handled by pam_umask" appears to have been removed, making the comment in the skel file even more confusing. Setting the umask in /etc/profile has no effect.
Dear Maintainer, I just got bit by this as I wanted to change the default umask. Spent some time exhaustively looking through /etc/profile, /etc/profile.d/ and the things source by the contents of those things, just to find out a while ago Debian always sets umask via PAM now. Maybe after 15 years this can get fixed in Trixie before it hits stable?