The current solution of 7zip (9.22b and 9.26a) of extracting unix symlinks from a unix .tar archive is to create a file and place the destination of the linked file/directory in it. Since this is a tough one to tackle, it would be great if there was an option (especially on the command line 7z) that would
force 7-zip to go into a mode that unix links are interpreted as copying the linked file at the location of the link.
i\'m attaching a .tar file compressed on linux and has symlinks that are extracted this way.
Apparently, the tar utility on linux features a command line option -h that does more or less that:
-h, --dereference follow symlinks; archive and dump the files they point to
so it probably isn\'t an awkward thing to add to 7-zip.
It would be great if this was fixed at some point.
archive with symlinks
Weird. This bug appears also in Linux with a native file system (EncFS over ZFS, if it matters).
While the proposed solution of dereferencing might be fine for FS not supporting symbolic links, it would be disappointing for a Linux user.
EDIT: sorry, I just noticed that on Linux it is actually another project sharing code with 7zip: p7zip and that this bug is already reported. ( https://sourceforge.net/p/p7zip/bugs/137/ )
Last edit: Milan Knizek 2014-05-29