diff --git a/scripts/upgrade b/scripts/upgrade index 82142db..0f4285c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -76,6 +76,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" + #================================================= # PHP-FPM CONFIGURATION #=================================================