mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 05:39:52 +00:00
Fix effective ACL mask for writable Nextcloud storage
This commit is contained in:
@@ -74,6 +74,18 @@
|
|||||||
state: present
|
state: present
|
||||||
loop: "{{ atlas_nextcloud_external_mounts }}"
|
loop: "{{ atlas_nextcloud_external_mounts }}"
|
||||||
|
|
||||||
|
- name: Restore effective web write access inside writable external storage
|
||||||
|
ansible.posix.acl:
|
||||||
|
path: "{{ item.source }}"
|
||||||
|
etype: mask
|
||||||
|
permissions: rwX
|
||||||
|
recursive: true
|
||||||
|
follow: false
|
||||||
|
recalculate_mask: no_mask
|
||||||
|
state: present
|
||||||
|
loop: "{{ atlas_nextcloud_external_mounts }}"
|
||||||
|
when: not item.readonly
|
||||||
|
|
||||||
- name: Inherit web access on new files and directories
|
- name: Inherit web access on new files and directories
|
||||||
ansible.posix.acl:
|
ansible.posix.acl:
|
||||||
path: "{{ item.source }}"
|
path: "{{ item.source }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user