From: Stefan Schantl Date: Tue, 29 Jan 2019 08:09:11 +0000 (+0100) Subject: update-ids-ruleset: Set correct ownership for rulesdir and files X-Git-Tag: v2.23-core131~117^2~97 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=ca8c92108af8ed2fce390592d8bd536f9caa2458;hp=36e69d34b1a59258bf17b886db323653dac1a13d update-ids-ruleset: Set correct ownership for rulesdir and files Signed-off-by: Stefan Schantl --- diff --git a/src/scripts/update-ids-ruleset b/src/scripts/update-ids-ruleset index fe4f838445..05d2ea61b3 100644 --- a/src/scripts/update-ids-ruleset +++ b/src/scripts/update-ids-ruleset @@ -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.