RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1466949 - esc created .redhat directory fails STIG umask check
Summary: esc created .redhat directory fails STIG umask check
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: esc
Version: 7.3
Hardware: All
OS: All
high
high
Target Milestone: rc
: ---
Assignee: Jack Magne
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-30 20:35 UTC by David Sirrine
Modified: 2021-06-10 12:32 UTC (History)
6 users (show)

Fixed In Version: esc-1.1.0-39.el7
Doc Type: Bug Fix
Doc Text:
Installing this update will assure that esc will, upon istallation, maintain all of its files and directories at the proper permissions level, to avoid any possible unauthorized access.
Clone Of:
Environment:
Last Closed: 2018-04-10 18:16:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0975 0 None None None 2018-04-10 18:16:58 UTC

Description David Sirrine 2017-06-30 20:35:32 UTC
Description of problem:
STIG requires umask of 077. ESC creates .redhat profile directory with chmod of 755. This causes a failed STIG validation.

Version-Release number of selected component (if applicable):
esc-1.1.0-37

How reproducible:
Always

Steps to Reproduce:
1. Install ESC
2. Set profile umask to 077
3. Run ESC

Actual results:
/home/$USER/.redhat has mode of 755

Expected results:
/home/$USER/.redhat has mode of 700

Comment 7 Roshni 2017-12-12 17:14:45 UTC
On a fresh installation I see the following which matches the output in your test instruction:

[rpattath@rpattath ~]$ rpm -q esc
esc-1.1.0-38.el7.x86_64
[rpattath@rpattath ~]$ cd /home/rpattath/
[rpattath@rpattath ~]$ ls -la | grep .redhat
drwx------.  3 rpattath rpattath 4096 Dec 11 15:55 .redhat

Comment 9 Matthew Harmsen 2018-01-08 19:16:13 UTC
Moving bug back to ASSIGNED to address this issue.

Comment 13 Roshni 2018-01-11 20:57:24 UTC
[root@dhcp129-107 ~]# rpm -qi esc
Name        : esc
Version     : 1.1.0
Release     : 39.el7
Architecture: x86_64
Install Date: Thu 11 Jan 2018 03:44:58 PM EST
Group       : Applications/Internet
Size        : 1379872
License     : GPL+
Signature   : (none)
Source RPM  : esc-1.1.0-39.el7.src.rpm
Build Date  : Tue 09 Jan 2018 07:07:45 PM EST
Build Host  : x86-041.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://directory.fedoraproject.org/wiki/CoolKey
Summary     : Enterprise Security Client Smart Card Client

Not seeing the issue in comment 5.

Comment 16 errata-xmlrpc 2018-04-10 18:16:55 UTC
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, 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-2018:0975


Note You need to log in before you can comment on or make changes to this bug.