[Bug 1240686] [NEW] Upstart overrides the user's umask

Reuben Thomas rrt at sc3d.org
Wed Oct 16 20:15:31 UTC 2013


Public bug reported:

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

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


** Tags: amd64 apport-bug saucy

-- 
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” package in Ubuntu:
  New

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/ubuntu/+source/upstart/+bug/1240686/+subscriptions



More information about the foundations-bugs mailing list