* Cygwin 7z breaks symlinks
@ 2020-03-15 16:52 Steven Penny
0 siblings, 0 replies; only message in thread
From: Steven Penny @ 2020-03-15 16:52 UTC (permalink / raw)
To: cygwin
If you try to use p7zip to create an archive with symlink:
7z a -snl c.tar a.txt b.txt
The symlink is broken:
$ 7z l -slt c.tar
[...]
Path = b.txt
Folder = -
Size = 5
Packed Size = 512
Modified = 2020-03-15 10:34:04
Mode = -rwxrwxrwx
User =
Group =
Symbolic Link =
Hard Link =
but if you use this version:
<https://7-zip.org/a/7z1514-x64.exe>
Then it works as expected:
$ 7z l -slt c.tar
[...]
Path = b.txt
Folder = -
Size = 5
Packed Size = 0
Modified = 2020-03-15 10:48:07
Mode = lrwxrwxrwx
User =
Group =
Symbolic Link = a.txt
Hard Link =
Note that I purposefully used an old version from the offical site, to match
the current Cygwin version.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-15 16:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15 16:52 Cygwin 7z breaks symlinks Steven Penny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).