Public bug reported: 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 ProcVersionSignature: Ubuntu 4.8.0-27.29-generic 4.8.1 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) ** Affects: lightdm (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug yakkety ** Description changed: 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 ProcVersionSignature: Ubuntu 4.8.0-27.29-generic 4.8.1 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) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1644327 Title: UMASK set in /etc/login.defs is ignored when logging in through lightdm Status in lightdm package in Ubuntu: New 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 ProcVersionSignature: Ubuntu 4.8.0-27.29-generic 4.8.1 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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1644327/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp