libarchive before 3.5.2, when opening a file descriptor to set file flags on Linux, would follow symbolic links. In case an archive contains a directory entry followed by a symlink entry with the same path, libarchive would modify file flags of the symlink target. Reference and upstream patch: https://github.com/libarchive/libarchive/commit/e2ad1a2c3064fa9eba6274b3641c4c1beed25c0b
Created libarchive tracking bugs for this issue: Affects: fedora-all [bug 2024244] Created mingw-libarchive tracking bugs for this issue: Affects: fedora-all [bug 2024243]
This is a continuation of bug 2024237, completing the fix begun there. *** This bug has been marked as a duplicate of bug 2024237 ***