mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
ids-functions.pl: Do not try to chown files while extracting them.
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>
This commit is contained in:
committed by
Peter Müller
parent
419153571b
commit
8353e28ad2
@@ -483,6 +483,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user