From ca8c92108af8ed2fce390592d8bd536f9caa2458 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 29 Jan 2019 09:09:11 +0100 Subject: [PATCH] update-ids-ruleset: Set correct ownership for rulesdir and files Signed-off-by: Stefan Schantl --- src/scripts/update-ids-ruleset | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.39.2