Set correct permissions for rootwrap.d
Recursive task against /etc/cinder/rootwrap.d set directory permissions to 0640 as well, which is not really valid. Also it was not idempotent with dir creation from pre-install step. Change-Id: Idbd09c78943d954f42f89acce40096c3754024be
This commit is contained in:
parent
dc5845335d
commit
cf3bb3b46b
@ -96,6 +96,7 @@
|
||||
- path: "{{ glance_etc_dir }}/rootwrap.d"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0750"
|
||||
- path: "/var/cache/glance"
|
||||
- path: "{{ glance_system_user_home }}"
|
||||
- path: "{{ glance_system_user_home }}/cache"
|
||||
|
@ -152,7 +152,7 @@
|
||||
path: "{{ glance_etc_dir }}/rootwrap.d"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0640"
|
||||
mode: "u=rwX,g=rX,o="
|
||||
recurse: true
|
||||
|
||||
- name: Run the systemd mount role
|
||||
|
Loading…
Reference in New Issue
Block a user