This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
tar & symbolic links
- To: Cygnus GNU-win32 mailing list <gnu-win32 at cygnus dot com>
- Subject: tar & symbolic links
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Wed, 16 Dec 1998 23:59:59 +1100
I'm using Cygwin version b20.1.
When I try to untar a tar file containing symbolic links,
and those symbolic links already exist,
I get the following error message:
tar: foo: Could not create symlink to `bar': Permission denied
This behaviour differs from e.g. Debian Linux, where it instead
silently overwrites any existing symbol links (just as it does
for ordinary files).
At very least, the error message ought to be something less misleading,
e.g.
tar: foo: Could not create symlink to `bar': File exists
P.S. Here's how to reproduce the problem:
ln -s foo bar
tar cvf t.tar bar
tar xvf t.tar
tar xvf t.tar
--
Fergus Henderson <fjh@cs.mu.oz.au> | "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh> | but source code lives forever"
PGP: finger fjh@128.250.37.3 | -- leaked Microsoft memo.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".