[Bug 1028167] [NEW] /etc/skel/.profile comment about umask needs updating

Reuben Thomas rrt at sc3d.org
Mon Jul 23 22:06:07 UTC 2012


Public bug reported:

/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)

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1028167

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

Status in “bash” package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1028167/+subscriptions




More information about the foundations-bugs mailing list