Summary: | Ark doesn't use symlinks anymore, instead copies the file into the archive | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Janet <bugzilla> |
Component: | general | Assignee: | Harald Hvaal <metellius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nightowl, rakuco |
Priority: | NOR | ||
Version: | 2.15 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Janet
2010-10-02 22:47:08 UTC
Same problem here with ark in Kubuntu. It was fine before the KDE 4.5 version, ark treated the symlinks as symlinks thus producing a lot smaller archives. I could accept that way when I pack as zip because a zip archive is more likely to go to a Windows computer. But tar.gz is a native linux format and linux is able to use symlinks so ark should respect that. Are you sure this used to work fine? This is bug 180538, and the only thing that may have anything to do with this one too is bug 191821. SVN commit 1186375 by rkcosta: Manually call lstat() and pass the stat struct to libarchive. archive_read_disk_entry_from_file() calls lstat() itself if it has been compiled with HAVE_LSTAT and it is set not to follow symlinks. These conditions do not always hold, so it is better to call lstat() ourselves to make sure symlinks are not followed. BUG: 253059 M +9 -1 libarchivehandler.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1186375 SVN commit 1186377 by rkcosta: Manually call lstat() and pass the stat struct to libarchive. This is not a direct backport from r1186375 because the code is a bit different on the 4.5 (we need to call readlink() and archive_set_symlink() ourselves). CCBUG: 253059 FIXED-IN: 4.5.3 M +22 -1 libarchivehandler.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1186377 |