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