Security role doesn't set umask properly on CentOS

Bug #1656003 reported by Major Hayden
6
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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible-security (master)

Reviewed: https://review.openstack.org/419524
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-security/commit/?id=cd0fad3d88976815ad4bd9e6adb1a894c9afb3a7
Submitter: Jenkins
Branch: master

commit cd0fad3d88976815ad4bd9e6adb1a894c9afb3a7
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
    Change-Id: I0931a34b1114e3a57e0eb5914124eed589ded541

Changed in openstack-ansible:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.