[Bug 1240686] Re: Upstart overrides the user's umask

Sergio Callegari sergio.callegari at gmail.com
Tue Jan 28 18:45:46 UTC 2014


I've just noticed that all my new files are becoming readable by anybody, because the default umask is 022, and my personal umask, set in .profile to 027 is getting ignored.  Is this a consequence of this bug?
If so, please fix.  Exposing data in this way is not nice at all and this is not a minor bug.

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

Title:
  Upstart overrides the user's umask

Status in Upstart:
  Fix Released
Status in “upstart” package in Ubuntu:
  Fix Released
Status in “upstart” source package in Precise:
  Triaged
Status in “upstart” source package in Saucy:
  Triaged

Bug description:
  I set the umask in my ~/.profile. In previous releases of Ubuntu this
  worked nicely. Now, I find it has been reset from 0027 to 0022. On
  investigation, this appears to be upstart's fault. Setting

  umask 027

  in an upstart override file for my desktop session (gnome-session)
  restores the desired functionality, but obviously this is not ideal,
  as it's a duplicated setting (I still need the setting in ~/.profile,
  e.g. for terminal and ssh logins).

  This sort of problem has been common in other parts of the stack in
  the past (e.g. gdm/gnome-session used to stomp on the user's umask
  too), so it's understandable that it comes up in upstart, but equally
  it would be nice to fix it!

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upstart 1.10-0ubuntu7
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  .home.rrt..config.upstart.gnome.session.override:
   # Duplicate this here as upstart overrides the user's umask
   umask 027
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  Date: Wed Oct 16 21:10:47 2013
  InstallationDate: Installed on 2011-05-24 (876 days ago)
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  MarkForUpload: True
  SourcePackage: upstart
  UpgradeStatus: Upgraded to saucy on 2013-10-10 (5 days ago)
  UpstartBugCategory: Session
  UpstartRunningSessionCount: 1
  UpstartRunningSessionVersion: init (upstart 1.10)
  UpstartRunningSystemVersion: init (upstart 1.10)
  upstart.upstart-event-bridge.log: upstart-event-bridge: Disconnected from Upstart
  upstart.upstart-file-bridge.log:
   Job got added /com/ubuntu/Upstart/jobs/unicast_2dlocal_2davahi
   Job got added /com/ubuntu/Upstart/jobs/update_2dnotifier_2dcrash
   Job got added /com/ubuntu/Upstart/jobs/update_2dnotifier_2drelease

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1240686/+subscriptions



More information about the foundations-bugs mailing list