From aaec189570249b412f99ee016df10f690e4e541e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 3 Aug 2021 00:09:15 +0200 Subject: [PATCH] Update upgrade (#55) --- 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 #=================================================