From 5b79996c88c89c3ce3c6e464d1b3ce9efa04795c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 10 Apr 2021 18:58:35 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 6e6d945..8f93da0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -141,6 +141,10 @@ then ynh_setup_source --dest_dir="$final_path" --source_id=$architecture fi +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R root:$app "$final_path" + #================================================= # NGINX CONFIGURATION #=================================================