From bdfc8fede0e0e557c44f338a61a5f86e60f0fd15 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 4 May 2024 23:35:16 +0200 Subject: [PATCH] Fix restored install_dir permissions --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 4485c5a..f16e5a3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -16,7 +16,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -chown -R $app:www-data "$install_dir" +chown -R $app:$app "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE