From 25d424387e5897515ab78da902bf18d50701326a Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 23 Apr 2019 20:33:02 +0200 Subject: [PATCH] convert-snort: Fix ownership of the generated homenet file. Fixes #12059. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- config/suricata/convert-snort | 3 +++ 1 file changed, 3 insertions(+) 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. # -- 2.39.2