diff --git a/roles/glpi/templates/perms.sh.j2 b/roles/glpi/templates/perms.sh.j2 index 5076e63..4f117c3 100644 --- a/roles/glpi/templates/perms.sh.j2 +++ b/roles/glpi/templates/perms.sh.j2 @@ -3,8 +3,8 @@ restorecon -R {{ glpi_root_dir }} chown root:root {{ glpi_root_dir }} chmod 700 {{ glpi_root_dir }} -chown root:root {{ glpi_root_dir }}/{meta,db_dumps} -chmod 700 {{ glpi_root_dir }}/{meta,db_dumps} +chown root:root {{ glpi_root_dir }}/{meta,backup} +chmod 700 {{ glpi_root_dir }}/{meta,backup} setfacl -k -b {{ glpi_root_dir }} setfacl -m u:{{ glpi_php_user | default('apache') }}:rx,u:{{ httpd_user | default('apache') }}:rx {{ glpi_root_dir }} chown -R root:root {{ glpi_root_dir }}/web