Bug 1817198

Summary: su changes umask to 077
Product: Red Hat Enterprise Linux 8 Reporter: zzambers
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED WONTFIX QA Contact: Radka Brychtova <rskvaril>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: rcap
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-25 07:26:51 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 zzambers 2020-03-25 18:57:37 UTC
Description of problem:
Su changes umask to 077, this is little unexpected.

For example:
id -un
root
umask
0022
su root -c umask
0077

Is this intentional?


SW versions:

rpm -qa | grep util-linux
util-linux-2.32.1-17.el8.x86_64
util-linux-user-2.32.1-17.el8.x86_64

uname -srv
Linux 4.18.0-147.3.1.el8_1.x86_64 #1 SMP Wed Nov 27 01:11:44 UTC 2019

Comment 3 RHEL Program Management 2021-09-25 07:26:51 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.