From 3c59b1fab85f76f75e0b6bb89cd9c007b2416b57 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 29 Jan 2019 08:58:08 +0100 Subject: [PATCH] ids-functions.pl: Set correct ownership for the stored error file. Signed-off-by: Stefan Schantl --- config/cfgroot/ids-functions.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index d8044b4e86..efe89b512f 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -387,6 +387,9 @@ sub _store_error_message ($) { # Close file. close (ERRORFILE); + + # Set correct ownership for the file. + &set_ownership("$storederrorfile"); } # -- 2.39.2