| Summary: | [libzip] Ark doesn't preserve symlinks in zip files | ||
|---|---|---|---|
| Product: | [Applications] ark | Reporter: | John S. <jman012345> |
| Component: | plugins | Assignee: | Ragnar Thomsen <rthomsen6> |
| Status: | CONFIRMED --- | ||
| Severity: | major | CC: | christian, elvis.angelaccio, felipelorenzzon, firma.bio, frp.bissey, justin.zobel, kde, rthomsen6, yule2000 |
| Priority: | NOR | ||
| Version First Reported In: | 19.04.3 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
John S.
2019-12-30 22:35:18 UTC
Can you check which zip plugin are you using? (Settings -> Configure Ark -> Plugins) Looks like it's using libzip. The only other plugin that looks like it handles zip files would be Info-zip, but it says that plugin provides legacy support for zip files. According to Fedora's package manager I have libzip 1.5.2 installed, but I don't know if this package is the same as the plugin that's being used. I can't find a corresponding package for Info-zip. Info-zip is the 'zip'/'unzip' CLI program. (In reply to Elvis Angelaccio from comment #3) > Info-zip is the 'zip'/'unzip' CLI program. I can confirm that unmarking Libzip makes symlinks to work. The p7zip lib works also (In reply to Christian Finnberg from comment #4) > (In reply to Elvis Angelaccio from comment #3) > > Info-zip is the 'zip'/'unzip' CLI program. > > I can confirm that unmarking Libzip makes symlinks to work. The p7zip lib > works also Apparently that works only if you first open the archive in Ark, and click Extract in Ark GUI. When rightclicking the archive -> Extract -> Basically any of the option it doesn't create the symlink. (In reply to Blazej S from comment #5) > (In reply to Christian Finnberg from comment #4) > > (In reply to Elvis Angelaccio from comment #3) > > > Info-zip is the 'zip'/'unzip' CLI program. > > > > I can confirm that unmarking Libzip makes symlinks to work. The p7zip lib > > works also > > Apparently that works only if you first open the archive in Ark, and click > Extract in Ark GUI. > When rightclicking the archive -> Extract -> Basically any of the option it > doesn't create the symlink. Turns out you have to close all dolphin sessions for the changes to take effect, so false alarm. Anyway, shouldn't this be mentioned in some kind of FAQ for Ark or its wiki page? *** Bug 473186 has been marked as a duplicate of this bug. *** (In reply to Blazej S from comment #6) > (In reply to Blazej S from comment #5) > > (In reply to Christian Finnberg from comment #4) > > > (In reply to Elvis Angelaccio from comment #3) > > > > Info-zip is the 'zip'/'unzip' CLI program. > > > > > > I can confirm that unmarking Libzip makes symlinks to work. The p7zip lib > > > works also > > > > Apparently that works only if you first open the archive in Ark, and click > > Extract in Ark GUI. > > When rightclicking the archive -> Extract -> Basically any of the option it > > doesn't create the symlink. > > Turns out you have to close all dolphin sessions for the changes to take > effect, so false alarm. Anyway, shouldn't this be mentioned in some kind of > FAQ for Ark or its wiki page? In my system this did not solve the problem. Ark is able to detect it is a link, but extraction does not handle it properly. I've confirmed the terminal command ```unzip``` works properly for my folder. Operating System: Manjaro Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.11-2-MANJARO (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 Manufacturer: Dell Inc. Product Name: Inspiron 7580 Can reproduce with Ark 25.04.3 and KDE Frameworks 6.16. This happened when I unzipped a cursor theme from https://github.com/catppuccin/cursors/releases/tag/v2.0.0 to ~/.local/share/icons. It caused some of the cursors for the Catppuccin theme variant I downloaded to appear blank in System Settings because of the symlinks being copied as files containing the supposed target location (see https://github.com/catppuccin/cursors/issues/69). |