From faa49568f19efceeff1c7f47ee544c859dee347c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Sat, 27 Nov 2021 12:52:07 +0100 Subject: [PATCH] fix(restore): use yeswiki_update_dir_rights --- scripts/restore | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/restore b/scripts/restore index be15d50..2b7a635 100755 --- a/scripts/restore +++ b/scripts/restore @@ -70,11 +70,7 @@ ynh_restore_file --origin_path="$final_path" #================================================= # Restore permissions on app files -chown -R root: $final_path -chown -R $app $final_path/{cache,files,themes,tools,wakka.config.php} - -chown $app:www-data $final_path -chmod o-rwx $final_path +yeswiki_update_dir_rights $app $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION