ids-functions.pl: Do not try to chown files while extracting them.
Commit Message
We are almost running as an unprivileged user and therfore have not
the permissions to do this.
This will save us a lot of confusion error messages.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
config/cfgroot/ids-functions.pl | 3 +++
1 file changed, 3 insertions(+)
@@ -475,6 +475,9 @@ sub extractruleset ($) {
# Load perl module to deal with archives.
use Archive::Tar;
+ # Disable chown functionality when uncompressing files.
+ $Archive::Tar::CHOWN = "0";
+
# Load perl module to deal with files and path.
use File::Basename;