From 9b53f651070ac01bf89582d50a27cbc79f980087 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 8 Jan 2022 16:16:47 +0100 Subject: [PATCH] convert-ids-multiple-providers: Set correct ownership for default rules file. Otherwise the file would belong to root and is not write-able by the WUI. Fixes #12759. Signed-off-by: Stefan Schantl --- config/suricata/convert-ids-multiple-providers | 1 + 1 file changed, 1 insertion(+) diff --git a/config/suricata/convert-ids-multiple-providers b/config/suricata/convert-ids-multiple-providers index cadcdfebc9..a082508411 100644 --- a/config/suricata/convert-ids-multiple-providers +++ b/config/suricata/convert-ids-multiple-providers @@ -267,6 +267,7 @@ if (-f $old_used_rulefiles_file) { # Set correct ownerships. &IDS::set_ownership("$provider_used_rulefiles_file"); &IDS::set_ownership("$IDS::suricata_used_providers_file"); + &IDS::set_ownership("$IDS::suricata_default_rulefiles_file"); } # Remove old used rulefiles file. -- 2.39.5