mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
7
roles/etherpad/templates/perms.sh.j2
Normal file
7
roles/etherpad/templates/perms.sh.j2
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
restorecon -R {{ etherpad_root_dir }}
|
||||
chown -R {{ etherpad_user }}:{{ etherpad_user }} {{ etherpad_root_dir }}/app
|
||||
find {{ etherpad_root_dir }}/app -type f -exec chmod 644 "{}" \;
|
||||
find {{ etherpad_root_dir }}/app -type d -exec chmod 755 "{}" \;
|
||||
chmod 600 {{ etherpad_root_dir }}/app/{settings.json,SESSIONKEY.txt,APIKEY.txt}
|
Reference in New Issue
Block a user