Bug 2210145
| Summary: | [spec] [RHEL-9]GNOME applications started via GUI have different umask than ones started via command line | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Brandon Clark <brclark> |
| Component: | systemd | Assignee: | Jan Macku <jamacku> |
| Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.1 | CC: | dtardon, jamacku, mijjapur, oholy, qguo, systemd-maint-list |
| Target Milestone: | rc | Keywords: | Bugfix, Reproducer, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | systemd-252-16.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-07 08:54:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Brandon Clark
2023-05-25 21:51:26 UTC
See also https://bugzilla.redhat.com/show_bug.cgi?id=2125184. How the umask is configured? The umask cmd doesn't change that system-wide, just for the concrete terminal session. I suppose that this is perhaps needed here: https://github.com/systemd/systemd/pull/15318. GNOME starts GUI applications as systemd user services and it seems that systemd --user manager doesn't respect the setting from /etc/login.defs. The problem is that pam_umask.so module is not invoked when starting --user manager. Adding following line to /etc/pam.d/systemd-user config file should fix the issue, session optional pam_umask.so silent Hello! Customer wants to know if this issue will be solved in later releases of RHEL or through any other means. As they state that the deployments of RHEL on other machines is on hold currently for this issue. Hello, We are planning to include the fix in the upcoming RHEL 9.3.0. fix merged to github main branch -> https://github.com/redhat-plumbers/systemd-rhel9/pull/178 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (systemd bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6640 |