From 5d7d8749dc005bd883e3b7d53d953f334cdea5b4 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 18 Feb 2019 13:33:41 +0100 Subject: [PATCH] convert-snort: Set correct ownership after modify_sids_file has been generated. Signed-off-by: Stefan Schantl --- config/suricata/convert-snort | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/suricata/convert-snort b/config/suricata/convert-snort index 0df5a451af..20ba353109 100644 --- a/config/suricata/convert-snort +++ b/config/suricata/convert-snort @@ -209,6 +209,9 @@ if ($idssettings{"MONITOR_TRAFFIC_ONLY"} eq "off") { # Call subfunction and pass the desired IDS action. &IDS::write_modify_sids_file($IDS_action); +# Set correct ownership. +&IDS::set_ownership("$IDS::modify_sids_file"); + # ## Step 6: Move rulestarball to its new location. # -- 2.39.2