From e8f8164a3ca05545495bd5b9e651b265281ceffc Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 31 Mar 2019 21:31:36 +0200 Subject: [PATCH] Fix final_path owner --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 9696c169..99761488 100644 --- a/scripts/restore +++ b/scripts/restore @@ -68,7 +68,7 @@ ynh_system_user_create "$app" #================================================= # Restore permissions on app files -chown -R root: "$final_path" +chown -R "$app": "$final_path" #================================================= # RESTORE THE PHP-FPM CONFIGURATION