commit ab213e6eb726133a978bb3d15bdcc42f42ca9129
parent ce2b872a0f5883a7635d02ec07ddbb35da346d36
Author: sin <sin@2f30.org>
Date: Sun, 15 Jun 2014 21:03:01 +0100
Add _OWNER and _UNLINK to extraction flags
Remove some others.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/installpkg.c b/installpkg.c
@@ -287,10 +287,10 @@ extract(const char *prefix, const char *f)
out = archive_write_disk_new();
archive_write_disk_set_options(out,
- ARCHIVE_EXTRACT_TIME |
+ ARCHIVE_EXTRACT_OWNER |
ARCHIVE_EXTRACT_PERM |
- ARCHIVE_EXTRACT_ACL |
- ARCHIVE_EXTRACT_FFLAGS |
+ ARCHIVE_EXTRACT_TIME |
+ ARCHIVE_EXTRACT_UNLINK |
ARCHIVE_EXTRACT_SECURE_NODOTDOT);
archive_read_support_filter_gzip(in);