From: Stefan Schantl Date: Tue, 23 Apr 2019 18:33:02 +0000 (+0200) Subject: convert-snort: Fix ownership of the generated homenet file. X-Git-Tag: v2.23-core131~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4f315677777e4b819d82eadd14af6f4d20137e5;p=ipfire-2.x.git convert-snort: Fix ownership of the generated homenet file. Fixes #12059. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/config/suricata/convert-snort b/config/suricata/convert-snort index 0ad2942b13..83931fa5b9 100644 --- a/config/suricata/convert-snort +++ b/config/suricata/convert-snort @@ -259,6 +259,9 @@ if (-f $IDS::rulestarball) { # Call subfunction to generate the file. &IDS::generate_home_net_file(); +# Set correct ownership for the homenet file. +&IDS::set_ownership("$IDS::homenet_file"); + # ## Step 9: Setup automatic ruleset updates. #