UMASK set in /etc/login.defs is ignored when logging in through lightdm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have set UMASK 077 in /etc/login.defs and there is no override in ~/.profile, ~/.bashrc or the corresponding system-wide files.
The umask command still prints 0022 in gnome terminal, but prints 0007 when I log into tty1. Newly created files get the same permissions as when umask is set to 0022 within the Unity session.
Even a full system reboot does not change this behaviour.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: lightdm 1.19.5-0ubuntu1
ProcVersionSign
Uname: Linux 4.8.0-27-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Nov 23 23:48:45 2016
InstallationDate: Installed on 2016-10-15 (39 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)