convert-ids-backend-files: Set correct ownership for suricata used

rulefiles file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-04-22 09:13:41 +02:00
parent c8adaee195
commit 615fd78f92

View File

@@ -234,6 +234,9 @@ my @enabled_providers = &IDS::get_enabled_providers();
# Write used rulesfiles file.
&IDS::write_used_rulefiles_file(@enabled_providers);
# Set the correct ownership for the new file.
&IDS::set_ownership("$IDS::suricata_used_rulesfiles_file");
#
## Step 7: Remove unneeded orphaned files.
#