ansible-roles/roles/matrix_element/templates/perms.sh.j2
2021-12-01 19:13:34 +01:00

6 lines
181 B
Django/Jinja

#!/bin/sh
chown -R root:root {{ element_root_dir }}
find {{ element_root_dir }}/web -type f -exec chmod 644 "{}" \;
find {{ element_root_dir }}/web -type d -exec chmod 755 "{}" \;