From: Stefan Schantl Date: Sat, 8 Jan 2022 15:16:47 +0000 (+0100) Subject: convert-ids-multiple-providers: Set correct ownership for default rules X-Git-Tag: v2.27-core164~210^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b53f651070ac01bf89582d50a27cbc79f980087;p=ipfire-2.x.git 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 --- 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.