convert-snort: Set correct ownership after modify_sids_file has been generated.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 18 Feb 2019 12:33:41 +0000 (13:33 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 18 Feb 2019 12:33:41 +0000 (13:33 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/suricata/convert-snort

index 0df5a45..20ba353 100644 (file)
@@ -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.
 #