/etc/skel/.profile comment about umask needs updating

Bug #1028167 reported by Reuben Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
New
Undecided
Unassigned

Bug Description

/etc/skel/.profile contains this stanza:

# 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, this is no longer true. /etc/profile says:

# The default umask is now handled by pam_umask.
# See pam_umask(8) and /etc/login.defs.

In fact, the above can be shortened, as pam_umask(8) refers to /etc/login.defs. This also avoids the reader inferring (as I did) that /etc/login.defs is independent of pam_umask, an inference which though erroneous is supported by the fact that the umask stanza in /etc/login.defs does not mention pam_umask.

Hence, the lines in /etc/skel/.profile should be changed to something like:

# The default umask is handled by pam_umask.
# See pam_umask(8).
#umask 022

I'll file a similar suggestion against base-files.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bash 4.2-2ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Mon Jul 23 22:55:23 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: bash
UpgradeStatus: Upgraded to precise on 2012-03-06 (139 days ago)

Revision history for this message
Reuben Thomas (rrt) wrote :
Revision history for this message
Reuben Thomas (rrt) wrote :

This bug is still present in trusty.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.