From 5412dc526148ffea6c8e0a34f1c64b873c9432ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Sun, 10 Mar 2019 17:16:40 +0100 Subject: [PATCH] fix permissions when restoring app --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 824e1ce..dce7a99 100755 --- a/scripts/restore +++ b/scripts/restore @@ -77,6 +77,7 @@ ynh_system_user_create $app # Restore permissions on app files chown -R root: $final_path +chown -R $app: $final_path/data/ #================================================= # SPECIFIC RESTORATION