ids-functions.pl: Set correct ownership for the stored error file.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 29 Jan 2019 07:58:08 +0000 (08:58 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 29 Jan 2019 07:58:08 +0000 (08:58 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl

index d8044b4..efe89b5 100644 (file)
@@ -387,6 +387,9 @@ sub _store_error_message ($) {
 
         # Close file.
         close (ERRORFILE);
+
+       # Set correct ownership for the file.
+       &set_ownership("$storederrorfile");
 }
 
 #