From bc2cc72c132b9f5062d011953617618f783e42c8 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 3 Aug 2021 00:08:00 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 03363d7..05adba4 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,14 +110,14 @@ then # Remove the tmp directory securely ynh_secure_remove --file="$tmpdir" + chmod 750 "$final_path" + chmod -R o-rwx "$final_path" + chown -R $app:www-data "$final_path" + ynh_exec_as $app php${phpversion} $final_path/console core:update -n fi fi -chmod 750 "$final_path" -chmod -R o-rwx "$final_path" -chown -R $app:www-data "$final_path" - #================================================= # NGINX CONFIGURATION #=================================================