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-core133~189 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=25d424387e5897515ab78da902bf18d50701326a 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. #