You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
341 B
8 lines
341 B
![]()
4 years ago
|
#!/bin/bash -e
|
||
|
|
||
|
restorecon -R {{ etherpad_root_dir }}
|
||
|
chown -R {{ etherpad_user }}:{{ etherpad_user }} {{ etherpad_root_dir }}/web
|
||
|
find {{ etherpad_root_dir }}/web -type f -exec chmod 644 "{}" \;
|
||
|
find {{ etherpad_root_dir }}/web -type d -exec chmod 755 "{}" \;
|
||
|
chmod 640 {{ etherpad_root_dir }}/web/{settings.json,SESSIONKEY.txt,APIKEY.txt}
|