]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Do not follow symlinks when processing the fixup list
authorMartin Matuska <martin@matuska.org>
Thu, 19 Aug 2021 23:50:27 +0000 (01:50 +0200)
committerMartin Matuska <martin@matuska.org>
Sun, 22 Aug 2021 04:13:54 +0000 (06:13 +0200)
commitb41daecb5ccb4c8e3b2c53fd6147109fc12c3043
tree19b83c6eef81492f624015970621dfc936e32c90
parente2ad1a2c3064fa9eba6274b3641c4c1beed25c0b
Do not follow symlinks when processing the fixup list

Use lchmod() instead of chmod() and tell the remaining functions that the
real file to be modified is a symbolic link.

Fixes #1566
Makefile.am
libarchive/archive_write_disk_posix.c
libarchive/test/CMakeLists.txt
libarchive/test/test_write_disk_fixup.c [new file with mode: 0644]