Skip to content
Snippets Groups Projects
Commit ae7dbe6a authored by Bob Mottram's avatar Bob Mottram
Browse files

Etherpad permissions

parent 64cd9078
No related branches found
No related tags found
No related merge requests found
...@@ -309,6 +309,10 @@ function upgrade_etherpad { ...@@ -309,6 +309,10 @@ function upgrade_etherpad {
function_check set_repo_commit function_check set_repo_commit
set_repo_commit /var/www/$ETHERPAD_DOMAIN_NAME/htdocs "etherpad commit" "$ETHERPAD_COMMIT" $ETHERPAD_REPO set_repo_commit /var/www/$ETHERPAD_DOMAIN_NAME/htdocs "etherpad commit" "$ETHERPAD_COMMIT" $ETHERPAD_REPO
if [ -d "/var/www/$ETHERPAD_DOMAIN_NAME/htdocs/.npm" ]; then
chmod 755 -R "/var/www/$ETHERPAD_DOMAIN_NAME/htdocs/.npm"
fi
} }
function backup_local_etherpad { function backup_local_etherpad {
...@@ -649,6 +653,12 @@ function install_etherpad { ...@@ -649,6 +653,12 @@ function install_etherpad {
increment_app_install_progress increment_app_install_progress
if [ -d "/var/www/$ETHERPAD_DOMAIN_NAME/htdocs/.npm" ]; then
chmod 755 -R "/var/www/$ETHERPAD_DOMAIN_NAME/htdocs/.npm"
fi
increment_app_install_progress
systemctl start etherpad systemctl start etherpad
increment_app_install_progress increment_app_install_progress
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment