From f865e79dc0dba59d946a532c7fa19191b57617d7 Mon Sep 17 00:00:00 2001 From: pp-r <64266134+pp-r@users.noreply.github.com> Date: Sun, 14 Feb 2021 14:11:03 +0100 Subject: [PATCH] Update from example_ynh --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 7930822..53a98ef 100644 --- a/scripts/restore +++ b/scripts/restore @@ -72,8 +72,8 @@ ynh_system_user_create --username=$app # RESTORE USER RIGHTS #================================================= -# Restore permissions on app files chown -R root: $final_path -chown -R $app: $final_path +# Restore permissions on app files chown -R $app: $final_path +chown -R root: $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION