From da9deb6fff575125cefc4ad844077972e84585c0 Mon Sep 17 00:00:00 2001 From: Nils VAN ZUIJLEN Date: Fri, 16 Apr 2021 11:58:38 +0200 Subject: [PATCH] Fix permissions on restore --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index e4144ae..5116ebe 100755 --- a/scripts/restore +++ b/scripts/restore @@ -73,6 +73,7 @@ ynh_system_user_create --username=$app # Restore permissions on app files chown -R root: $final_path +chown -R $app $final_path/{cache,files,themes,tools,wakka.config.php} #================================================= # RESTORE THE PHP-FPM CONFIGURATION