ansible-roles/roles/squash_tm/templates/perms.sh.j2

7 lines
232 B
Django/Jinja

#!/bin/bash -e
chown -R root:root {{ squashtm_root_dir }}/app
find {{ squashtm_root_dir }}/app -type f -exec chmod 644 "{}" \;
find {{ squashtm_root_dir }}/app -type d -exec chmod 755 "{}" \;
restorecon -Rv {{ squashtm_root_dir }}