diff --git a/scripts/upgrade b/scripts/upgrade index 0a85a67..2c1f855 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,6 +33,9 @@ then popd fi +chmod -R o-rwx "$install_dir" +chown -R $app:www-data "$install_dir" + #================================================= # UPGRADE DEPENDENCIES #=================================================