Fix effective ACL mask for writable Nextcloud storage

This commit is contained in:
Fabio Scotto di Santolo
2026-10-25 16:42:58 +01:00
parent 45d6e7e3ee
commit 479b60f270

View File

@@ -74,6 +74,18 @@
state: present
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
ansible.posix.acl:
path: "{{ item.source }}"