diff --git a/scripts/upgrade b/scripts/upgrade index 011797f..ebc43c0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,6 +87,10 @@ then ynh_setup_source --dest_dir="$final_path/build" fi +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" + #================================================= # UPGRADE DEPENDENCIES #=================================================