]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
update-ids-ruleset: Set correct ownership for rulesdir and files
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 29 Jan 2019 08:09:11 +0000 (09:09 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 29 Jan 2019 08:09:11 +0000 (09:09 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/scripts/update-ids-ruleset

index fe4f838445cd70cabe3406208e803fbf8fb7dc70..05d2ea61b3776f71787a5c0725fc4332027c181e 100644 (file)
@@ -58,6 +58,9 @@ if(&IDS::downloadruleset()) {
 # Call oinkmaster to alter the ruleset.
 &IDS::oinkmaster();
 
+# Set correct ownership for the rulesdir and files.
+&IDS::set_ownership("$IDS::rulespath");
+
 # Check if the IDS is running.
 if(&IDS::ids_is_running()) {
        # Call suricatactrl to perform a reload.