diff --git a/scripts/upgrade b/scripts/upgrade index 1e92da6..48db94b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -80,6 +80,10 @@ then ynh_setup_source --dest_dir="$final_path" fi +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" + #================================================= # NGINX CONFIGURATION #=================================================