From d28e270024b12006c3eacee0da4dea8a99314789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 26 Sep 2024 14:31:01 +0200 Subject: [PATCH] Set the right permission --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index e2f541a..b805c08 100755 --- a/scripts/restore +++ b/scripts/restore @@ -28,7 +28,7 @@ ynh_script_progression "Restoring the data directory..." ynh_restore "$data_dir" ### (Same as for install dir) -chown -R "$app:www-data" "$data_dir" +chown -R "$app:$app" "$data_dir" #================================================= # RESTORE THE MYSQL DATABASE