Ensure service log folder permissions
We should ensure that the service folders are 0750. We're setting /var/log/containers but we should also ensure the service folders also have the correct permissions. Change-Id: I28e8017edc7e30a60288adf846da722fd6ab310e
This commit is contained in:
@@ -39,8 +39,8 @@ outputs:
|
||||
state: directory
|
||||
setype: "{{ item.setype }}"
|
||||
with_items:
|
||||
- { 'path': /var/log/containers/barbican, 'setype': svirt_sandbox_file_t }
|
||||
- { 'path': /var/log/containers/httpd/barbican-api, 'setype': svirt_sandbox_file_t }
|
||||
- { 'path': /var/log/containers/barbican, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
|
||||
- { 'path': /var/log/containers/httpd/barbican-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
|
||||
- { 'path': /var/log/barbican, 'setype': var_log_t }
|
||||
- name: barbican logs readme
|
||||
copy:
|
||||
|
||||
Reference in New Issue
Block a user