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

7 lines
232 B
Plaintext
Raw Normal View History

2022-04-29 11:00:10 +02:00
#!/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 }}