From 7744678888cd6b0291ea3bd217dad51f23423252 Mon Sep 17 00:00:00 2001 From: Rasmus Mattsson Kallio Date: Wed, 16 Sep 2020 21:58:11 +0200 Subject: [PATCH] Fix issue #5 Explicity set the correct owner and group for the data dir during backup restore --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 873b5d8..13dfe47 100644 --- a/scripts/restore +++ b/scripts/restore @@ -96,6 +96,7 @@ systemctl enable $app.service #================================================= ynh_restore_file "/home/yunohost.app/$app" +chown -R "$app:$app" "/home/yunohost.app/$app" #================================================= # INTEGRATE SERVICE IN YUNOHOST