Security role doesn't set umask properly on CentOS
Bug #1656003 reported by
Major Hayden
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Low
|
Major Hayden |
Bug Description
CentOS/RHEL don't use /etc/login.defs for setting the default umask. That is done in /etc/bashrc.
The tasks for RHEL-07-020230 need to be updated to handle that difference.
Changed in openstack-ansible: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/419524 /git.openstack. org/cgit/ openstack/ openstack- ansible- security/ commit/ ?id=cd0fad3d889 76815ad4bd9e6ad b1a894c9afb3a7
Committed: https:/
Submitter: Jenkins
Branch: master
commit cd0fad3d8897681 5ad4bd9e6adb1a8 94c9afb3a7
Author: Major Hayden <email address hidden>
Date: Thu Jan 12 09:44:33 2017 -0600
Make umask change opt-in
Changing the default umask causes issues with OpenStack-Ansible
deployments in roles where directories are created without a mode
specified. It also may surprise some users on non-OpenStack systems
who expect the default umask to match the default from the OS.
This patch makes the change an opt-in change and it updates the
documentation to reflect that.
Related-bug: 1656003 a57e0eb5914124e ed589ded541
Change-Id: I0931a34b1114e3