mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
convert-ids-multiple-providers: Set correct ownership for default rules
file. Otherwise the file would belong to root and is not write-able by the WUI. Fixes #12759. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -267,6 +267,7 @@ if (-f $old_used_rulefiles_file) {
|
||||
# Set correct ownerships.
|
||||
&IDS::set_ownership("$provider_used_rulefiles_file");
|
||||
&IDS::set_ownership("$IDS::suricata_used_providers_file");
|
||||
&IDS::set_ownership("$IDS::suricata_default_rulefiles_file");
|
||||
}
|
||||
|
||||
# Remove old used rulefiles file.
|
||||
|
||||
Reference in New Issue
Block a user