Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60433 - [unzip] Files wrongly unzipped as symlinks

Attached to Project: Arch Linux
Opened by Michael Ehrenreich (mickdermack) - Tuesday, 16 October 2018, 18:07 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 19 October 2018, 14:49 GMT
Task Type Bug Report
Category Upstream Bugs
Status Assigned
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description: The symlink flag is not initialized to 0. After unzipping a symlink, other files may be wrongly unzipped as symlinks.

Debian patch: https://sources.debian.org/patches/unzip/6.0-21/06-initialize-the-symlink-flag.patch/

Since the last upstream version was released 9 years ago, I believe this patch should be added.


Additional info:
* tested package version: 6.0-12


Steps to reproduce:
1. Download ex. https://github.com/raspberrypi/linux/archive/rpi-4.14.y.zip
2. `unzip rpi-4.14.y.zip`
3. Notice that some files get unzipped as symlinks, with their content as target. ex.: linux-rpi-4.14.y/tools/testing/selftests/timers/rtctest_setdate.c
This task depends upon

Comment by Darek (blablo) - Monday, 31 December 2018, 13:07 GMT
Could another developer fix it? Lukas seems inactive for some time.
Comment by Shaarad (shaaraddalvi) - Saturday, 05 January 2019, 18:30 GMT
Can Jelle take this up? He was the last packager for unzip..

Loading...