Bug 15697 - unzip: compressed symlink is not supported
Summary: unzip: compressed symlink is not supported
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.35.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-13 21:09 UTC by Craig
Modified: 2023-07-13 21:09 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig 2023-07-13 21:09:12 UTC
The unzip binary provided by https://busybox.net/ does not suport compressed symlinks.

Alpine previously had this problem and fixed it by with CFLAG "-DNO_LCHMOD", see https://gitlab.alpinelinux.org/alpine/aports/-/commit/3006365ef443c6c7d6432bd24ed65045341a4182

Can you please update the configuration used to generate the binaries available at busybox.net with this same solution?

Reproduction steps:
1. curl https://busybox.net/downloads/binaries/1.35.0-x86_64-linux-musl/busybox_UNZIP -o unzip
2. chmod +x unzip
3. curl curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.0.2856-linux.zip" -o sonar-scanner-cli-4.8.0.2856-linux.zip
4. ./unzip sonar-scanner-cli-4.8.0.2856-linux.zip

Actual:
Exits with status 1 and the error message:
unzip: compressed symlink is not supported

Expected:
Exits with status 0 and no error message.