From c953200f3966d7a8520704530eccac19f9978568 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 18 Jun 2022 15:37:49 +0200 Subject: [PATCH] Missing rights --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) 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 #=================================================