]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
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 0df5a451afdf7f15e2b1eb3d02e55b9e2a1ab273..20ba353109e5f95f45a0943ac8acd304b6e8ce21 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.
 #