Open GoogleCodeExporter opened 9 years ago
There are two problems:
First, how to put Windows filesystem objects into an archive? Last I checked,
there were several different variations of "link" on Windows filesystems with
varying semantics across different versions of Windows. Whether one or all of
these should be archived as a "symlink" is an open question. (Fortunately, the
pax format provides a way to carry additional information, so we might be able
to archive different things as "symlink" with an additional property to
indicate what type of link it really was originally.) It would be interesting
to see if any Windows-specific archivers (such as Microsoft's CAB tools or
PKZIP) do anything interesting here.
Second, how should "symlinks" in a tar archive be restored onto Windows? The
Cygwin folks have been wrestling with this problem for years and have come up
with some workable answers.
Original comment by kientzle@gmail.com
on 28 Apr 2012 at 11:42
Tim,
Whatever approach is taken in regards to symlinks, one must be chosen. This
issue in libarchive is breaking some very popular downloads, e. g. OpenSSL.
I think taking the same approach as 7-zip is one possible and savvy choice. At
least, it works and the code is already there.
Original comment by pgqui...@elpauer.org
on 3 Jul 2013 at 1:35
Sounds like you know more about this than I do. (It's been a long time
since I did significant work with Windows.)
Please take a look at libarchive/archive_read_disk_windows.c and
libarchive/archive_write_disk_windows.c and see if you can help us
figure out how to improve this.
Original comment by kientzle@gmail.com
on 4 Jul 2013 at 2:19
Original issue reported on code.google.com by
Camarade...@gmail.com
on 28 Apr 2012 at 10:23