From a9e2d7bb746fcd8f3809816b52664c323901178d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 21 Jun 2020 23:47:18 +0200 Subject: [PATCH] Update restore --- scripts/restore | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index 113c329..0cf2588 100644 --- a/scripts/restore +++ b/scripts/restore @@ -62,14 +62,13 @@ ynh_script_progression --message="Restoring the app main directory..." ynh_restore_file --origin_path="$final_path" #================================================= -# RESTORE RIGHTS +# RESTORE USER RIGHTS #================================================= -ynh_script_progression --message="Restoring rights..." +ynh_script_progression --message="Restoring user rights..." # Restore permissions on app files -chown -R $app: $final_path chmod 775 -R $final_path - +chown -R www-data:www-data $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION