Bug 1101451

Summary: /etc/selinux/targeted/modules/active/*.pp have less restrictive permissions
Product: Red Hat Enterprise Linux 7 Reporter: Karel Srot <ksrot>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Jan Zarsky <jzarsky>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: lvrabec, mgrepl, mmalik, plautrba
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-66.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 02:17:30 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 Karel Srot 2014-05-27 08:24:27 UTC
Rather FYI than a problem:

On RHEL-7 modules
  /etc/selinux/targeted/modules/active/*.pp
have -rw-r--r-- permissions while in RHEL-6 it is -rw-------.

Is there any reason for having less restrictive permissions?

Comment 3 Petr Lautrbach 2016-06-09 14:52:30 UTC
Fixed since selinux-policy-3.13.1-66.el7

[# ls -ld /etc/selinux/targeted/active/modules/
drwx------. 4 root root 31 Jun  9 10:09 /etc/selinux/targeted/active/modules/
# ls -ld /etc/selinux/targeted/active/modules/100
drwx------. 401 root root 12288 Jun  9 10:09 /etc/selinux/targeted/active/modules/100
# ls -l /etc/selinux/targeted/active/modules/100                  
total 0
drwx------. 2 root root 41 Jun  9 10:09 abrt
drwx------. 2 root root 41 Jun  9 10:09 accountsd
...

Comment 7 errata-xmlrpc 2016-11-04 02:17:30 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://rhn.redhat.com/errata/RHBA-2016-2283.html