From 286542f711e5a06551e58acb4725767dfcb7955c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 31 Jul 2022 15:13:31 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) 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 #=================================================