From 4f9981dbe4a530ceed69eaff6febc824b12f6640 Mon Sep 17 00:00:00 2001 From: WangFengTu Date: Wed, 22 Jul 2020 15:31:01 +0800 Subject: [PATCH] support extact xattrs Signed-off-by: WangFengTu --- src/utils/tar/util_archive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/tar/util_archive.c b/src/utils/tar/util_archive.c index 3dd63c8..8887577 100644 --- a/src/utils/tar/util_archive.c +++ b/src/utils/tar/util_archive.c @@ -165,6 +165,7 @@ int archive_unpack_handler(const struct io_read_wrapper *content, const char *ds flags |= ARCHIVE_EXTRACT_FFLAGS; flags |= ARCHIVE_EXTRACT_SECURE_SYMLINKS; flags |= ARCHIVE_EXTRACT_SECURE_NODOTDOT; + flags |= ARCHIVE_EXTRACT_XATTR; a = archive_read_new(); archive_read_support_filter_all(a); -- GitLab