2017-04-24 09:18:30 |
Etienne URBAH |
bug |
|
|
added bug |
2017-04-27 15:10:44 |
Emily Ratliff |
information type |
Private Security |
Public Security |
|
2017-04-27 15:11:00 |
Emily Ratliff |
bug watch added |
|
https://bugzilla.gnome.org/show_bug.cgi?id=780622 |
|
2017-06-29 15:09:13 |
Launchpad Janitor |
gnome-terminal (Ubuntu): status |
New |
Confirmed |
|
2017-10-20 12:27:29 |
Marius Gedminas |
bug task added |
|
gnome-terminal |
|
2017-11-11 15:31:15 |
Coeur Noir |
bug task added |
|
gnome-session |
|
2017-11-11 15:44:20 |
Coeur Noir |
bug task added |
|
gedit |
|
2017-11-11 15:44:48 |
Coeur Noir |
bug task added |
|
nautilus |
|
2017-11-14 00:59:58 |
Bug Watch Updater |
gnome-terminal: status |
Unknown |
Confirmed |
|
2017-11-14 00:59:58 |
Bug Watch Updater |
gnome-terminal: importance |
Unknown |
Medium |
|
2018-04-11 20:10:02 |
Etienne URBAH |
tags |
amd64 apport-bug zesty |
amd64 apport-bug artful bionic zesty |
|
2018-07-01 20:36:34 |
Shane Jaroch |
nautilus: status |
New |
Confirmed |
|
2018-07-01 20:39:07 |
Shane Jaroch |
gedit: status |
New |
Invalid |
|
2018-07-06 00:13:34 |
Michael Shannon |
bug task added |
|
dbus (Ubuntu) |
|
2018-08-07 22:20:02 |
Launchpad Janitor |
dbus (Ubuntu): status |
New |
Confirmed |
|
2019-02-01 16:00:18 |
Daniel Andrade |
bug |
|
|
added subscriber Daniel |
2019-02-01 16:00:23 |
Daniel Andrade |
removed subscriber Daniel |
|
|
|
2019-06-17 15:01:08 |
Naël |
bug |
|
|
added subscriber Naël |
2019-06-17 18:43:30 |
Etienne URBAH |
bug watch added |
|
https://bugzilla.gnome.org/show_bug.cgi?id=780622 |
|
2019-08-25 07:59:32 |
Olivier JOLY |
bug |
|
|
added subscriber Olivier JOLY |
2019-10-27 18:22:34 |
Tom Reynolds |
gnome-terminal: importance |
Medium |
Unknown |
|
2019-10-27 18:22:34 |
Tom Reynolds |
gnome-terminal: status |
Confirmed |
Unknown |
|
2019-10-27 18:22:34 |
Tom Reynolds |
gnome-terminal: remote watch |
GNOME Bug Tracker #780622 |
bugzilla.gnome.org/ #780622 |
|
2019-12-12 12:45:46 |
Simon May |
bug |
|
|
added subscriber Simon May |
2019-12-19 06:02:16 |
Bug Watch Updater |
gnome-terminal: status |
Unknown |
Confirmed |
|
2019-12-19 06:02:16 |
Bug Watch Updater |
gnome-terminal: importance |
Unknown |
Medium |
|
2019-12-19 06:02:23 |
Bug Watch Updater |
bug watch added |
|
https://bugs.freedesktop.org/show_bug.cgi?id=18446 |
|
2019-12-19 06:02:23 |
Bug Watch Updater |
bug watch added |
|
https://bugzilla.gnome.org/show_bug.cgi?id=784113 |
|
2020-02-10 16:10:24 |
Klaus Jaensch |
bug watch added |
|
https://github.com/systemd/systemd/issues/6077 |
|
2020-04-04 21:46:55 |
Etienne URBAH |
tags |
amd64 apport-bug artful bionic zesty |
amd64 apport-bug artful bionic eoan focal zesty |
|
2020-04-14 14:05:18 |
Balint Reczey |
bug task added |
|
systemd (Ubuntu) |
|
2020-04-15 10:39:13 |
Balint Reczey |
systemd (Ubuntu): status |
New |
Fix Released |
|
2020-05-10 15:21:48 |
Richard Hansen |
tags |
amd64 apport-bug artful bionic eoan focal zesty |
amd64 apport-bug artful bionic eoan zesty |
|
2020-05-10 15:22:28 |
Richard Hansen |
summary |
gnome-terminal unduly forces umask=0022 |
'systemd --user' unduly forces umask=0022 |
|
2020-05-10 15:22:41 |
Richard Hansen |
gnome-terminal (Ubuntu): status |
Confirmed |
Invalid |
|
2020-05-10 15:22:46 |
Richard Hansen |
dbus (Ubuntu): status |
Confirmed |
Invalid |
|
2020-05-10 15:23:15 |
Richard Hansen |
gnome-session: status |
New |
Invalid |
|
2020-05-10 15:23:35 |
Richard Hansen |
nautilus: status |
Confirmed |
Invalid |
|
2020-05-10 15:34:43 |
Richard Hansen |
bug |
|
|
added subscriber Richard Hansen |
2020-05-10 15:37:20 |
Richard Hansen |
bug task added |
|
systemd |
|
2020-05-15 08:57:53 |
Dan Streetman |
bug |
|
|
added subscriber Dan Streetman |
2020-05-15 09:02:18 |
Dan Streetman |
nominated for series |
|
Ubuntu Bionic |
|
2020-05-15 09:02:18 |
Dan Streetman |
bug task added |
|
dbus (Ubuntu Bionic) |
|
2020-05-15 09:02:18 |
Dan Streetman |
bug task added |
|
gnome-terminal (Ubuntu Bionic) |
|
2020-05-15 09:02:18 |
Dan Streetman |
bug task added |
|
systemd (Ubuntu Bionic) |
|
2020-05-15 09:02:31 |
Dan Streetman |
gnome-terminal (Ubuntu Bionic): status |
New |
Invalid |
|
2020-05-15 09:02:45 |
Dan Streetman |
dbus (Ubuntu Bionic): status |
New |
Invalid |
|
2020-09-09 18:09:15 |
Launchpad Janitor |
systemd (Ubuntu Bionic): status |
New |
Confirmed |
|
2020-09-09 18:09:27 |
D Ledford |
bug |
|
|
added subscriber D Ledford |
2020-10-06 13:14:50 |
Etienne URBAH |
tags |
amd64 apport-bug artful bionic eoan zesty |
amd64 apport-bug artful bionic eoan groovy zesty |
|
2021-02-24 22:10:33 |
Dan Streetman |
description |
In order to set the default umask of my users to 027 or 007, I followed the instructions provided in 'man pam_umask' :
In the 'gecos' field of '/etc/passwd', I have inserted 'umask=027' or 'umask=007' (for myself).
Then, MOST graphical applications systematically run with the correct umask.
In particular, when I press Alt-F2, run 'xterm sh' and type 'umask', it systematically displays 0007.
But when I press Alt-F2, run 'gnome-terminal -e sh' and type 'umask', it systematically displays 0022.
That is BAD, and is a security issue.
Workaround : Inside the newly created '/etc/profile.d/umask.sh', and in each '~/.bashrc', add following content :
UMASK="$(grep -o "^$USER:.*,umask=0[0-7]*" /etc/passwd)"
if [ "$UMASK" ]; then
umask "${UMASK#$USER:*,umask=}"
fi
In fact, 'gnome-terminal' MUST NOT force umask=022, but keep umask unchanged.
Thank you in advance for a quick correction.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: gnome-terminal 3.20.2-1ubuntu8
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Mon Apr 24 08:36:58 2017
InstallationDate: Installed on 2017-03-28 (26 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Beta amd64 (20170321)
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install) |
[impact]
pam_umask, from /etc/passwd, is not honored in systemd --user instances
[test case]
on a desktop system, edit /etc/passwd to change the test user entry (e.g. the 'ubuntu' user) to include 'umask=007' in the GECOS field (5th field). For example change:
ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
to:
ubuntu:x:1000:1000:Ubuntu,umask=007:/home/ubuntu:/bin/bash
You may need to reboot for your X session to pick up the change.
Then, from the graphical desktop, open a terminal and run:
$ gnome-terminal -e sh
in the opened terminal, run:
$ umask
the number shown should be 0007, as set in the passwd file
[regression potential]
any regression would likely result in an incorrect umask for the user whose passwd entry is modified.
[scope]
this is needed only for b
this is fixed in systemd upstream by commit 5e37d1930b41b24c077ce37c6db0e36c745106c7 which was first included in v246, so this is fixed in g and later. This commit was also picked up by Debian and included in the v245 release for focal, so this is fixed in focal already.
[original description]
In order to set the default umask of my users to 027 or 007, I followed the instructions provided in 'man pam_umask' :
In the 'gecos' field of '/etc/passwd', I have inserted 'umask=027' or 'umask=007' (for myself).
Then, MOST graphical applications systematically run with the correct umask.
In particular, when I press Alt-F2, run 'xterm sh' and type 'umask', it systematically displays 0007.
But when I press Alt-F2, run 'gnome-terminal -e sh' and type 'umask', it systematically displays 0022.
That is BAD, and is a security issue.
Workaround : Inside the newly created '/etc/profile.d/umask.sh', and in each '~/.bashrc', add following content :
UMASK="$(grep -o "^$USER:.*,umask=0[0-7]*" /etc/passwd)"
if [ "$UMASK" ]; then
umask "${UMASK#$USER:*,umask=}"
fi
In fact, 'gnome-terminal' MUST NOT force umask=022, but keep umask unchanged.
Thank you in advance for a quick correction.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: gnome-terminal 3.20.2-1ubuntu8
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Mon Apr 24 08:36:58 2017
InstallationDate: Installed on 2017-03-28 (26 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Beta amd64 (20170321)
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-02-24 22:24:28 |
Dan Streetman |
systemd (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2021-02-24 22:24:28 |
Dan Streetman |
systemd (Ubuntu Bionic): status |
Confirmed |
In Progress |
|
2021-02-24 22:24:28 |
Dan Streetman |
systemd (Ubuntu Bionic): assignee |
|
Dan Streetman (ddstreet) |
|
2021-03-01 19:59:48 |
Etienne URBAH |
tags |
amd64 apport-bug artful bionic eoan groovy zesty |
amd64 apport-bug artful bionic eoan zesty |
|
2021-03-08 09:52:28 |
Łukasz Zemczak |
systemd (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2021-03-08 09:52:30 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-03-08 09:52:32 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2021-03-08 09:52:36 |
Łukasz Zemczak |
tags |
amd64 apport-bug artful bionic eoan zesty |
amd64 apport-bug artful bionic eoan verification-needed verification-needed-bionic zesty |
|
2021-03-08 22:30:47 |
Mathew Hodson |
bug task deleted |
dbus (Ubuntu) |
|
|
2021-03-08 22:30:56 |
Mathew Hodson |
bug task deleted |
dbus (Ubuntu Bionic) |
|
|
2021-03-08 22:31:07 |
Mathew Hodson |
bug task deleted |
gnome-terminal (Ubuntu) |
|
|
2021-03-08 22:31:16 |
Mathew Hodson |
bug task deleted |
gnome-terminal (Ubuntu Bionic) |
|
|
2021-03-08 22:33:23 |
Mathew Hodson |
affects |
nautilus |
ubuntu-translations |
|
2021-03-08 22:33:39 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2021-03-08 22:33:55 |
Mathew Hodson |
affects |
gedit |
ubuntu-translations |
|
2021-03-08 22:34:10 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2021-03-08 22:34:24 |
Mathew Hodson |
affects |
gnome-session |
ubuntu-translations |
|
2021-03-08 22:34:37 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2021-03-08 22:35:41 |
Mathew Hodson |
bug watch removed |
https://bugs.freedesktop.org/show_bug.cgi?id=18446 |
|
|
2021-03-08 22:36:05 |
Mathew Hodson |
bug watch removed |
https://bugzilla.gnome.org/show_bug.cgi?id=784113 |
|
|
2021-03-08 22:36:50 |
Mathew Hodson |
bug watch removed |
https://gitlab.gnome.org/780622 |
|
|
2021-03-08 22:38:21 |
Mathew Hodson |
affects |
gnome-terminal |
ubuntu-translations |
|
2021-03-08 22:38:35 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2021-03-09 18:22:46 |
Dan Streetman |
tags |
amd64 apport-bug artful bionic eoan verification-needed verification-needed-bionic zesty |
amd64 apport-bug artful bionic eoan verification-done verification-done-bionic zesty |
|
2021-03-18 13:52:29 |
Launchpad Janitor |
systemd (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2021-03-18 13:52:55 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|