From: Stefan Schantl Date: Mon, 18 Feb 2019 12:33:41 +0000 (+0100) Subject: convert-snort: Set correct ownership after modify_sids_file has been generated. X-Git-Tag: v2.23-core131~117^2~31 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=5d7d8749dc005bd883e3b7d53d953f334cdea5b4;ds=sidebyside convert-snort: Set correct ownership after modify_sids_file has been generated. Signed-off-by: Stefan Schantl --- 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. #