OpenSCAP/scap-security-guide — pull request #329 by iankko (2014-11-06 15:39:45+00:00)
Title: [RHEL/6, RHEL/7, Fedora] Homedir perms no groupwrite worldread fix

This PR does the following:
* patch 1 - when doing the scan if user's home directory have safe (no group-writable & no world-readable) permissions, don't scan permissions of the ```/home``` directory itself, just permissions of ```/home/*```. In other words exclude /home because:
* it doesn't have impact on the rule's requirement,
* due the requirement of system to work properly ```/home``` will require more relaxed / liberal permissions, than e.g. ```/home/user1``` directory.
Also move the check to shared & start using it from RHEL-7 & Fedora (adding also corresponding ```session.xml``` XCCDF chapter for Fedora case).

* patch 2: fix couple of typos (```s/red_id/ref_id/g```) in the existing test_attestations

* patch 3: fix couple instances of whitespace noise errors (like whitespace noise at EOL, or multiple spaces after period '.' character)

Testing report:
--
The proposed change has been tested on all three of RHEL-6, RHEL-7 & Fedora products & works as expected.

Please review.

Thanks, Jan.