]> git.ipfire.org Git - thirdparty/libarchive.git/commit
archive_write_disk_{posix,windows}.c: Don't modify attributes for existing directorie...
authorPaul Spangler <paul.spangler@ni.com>
Thu, 19 Oct 2017 19:33:12 +0000 (14:33 -0500)
committerPaul Spangler <paul.spangler@ni.com>
Fri, 20 Oct 2017 17:34:58 +0000 (12:34 -0500)
commit6674b4aa0f47ce6a98d24cfc949a2e4a3ffd254c
tree28a007e4de784168b3c024a268a986def936d2a5
parentf5e11acaa8779738ce166b266d1cd3ad1e666a37
archive_write_disk_{posix,windows}.c: Don't modify attributes for existing directories when ARCHIVE_EXTRACT_NO_OVERWRITE is set

Enables unpacking multiple archives into a single directory whose permissions,
owner, and other attributes are pre-configured or otherwise determined ahead
of time by a single archive without the need to repeat the same attributes in
every archive, such as in package installation scenarios.

Signed-off-by: Paul Spangler <paul.spangler@ni.com>
libarchive/archive_write_disk_posix.c
libarchive/archive_write_disk_windows.c
libarchive/test/test_write_disk_perms.c