This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
tar problem - symlinked file
- To: "cygwin" <cygwin at cygwin dot com>
- Subject: tar problem - symlinked file
- From: "Jong B. Lee" <jbdoll at kepri dot re dot kr>
- Date: Fri, 9 Feb 2001 17:31:52 +0900
tar does not teat well symlinked file
when it is symlinked to a file in its parent directory.
Here's the case.
Current directory is <test> and a file, <foo>, is in the parent directory.
$ ls -s ../foo foo
$ cd ..
$ tar cvf test.tar test
$ rm -rf test
$ tar xvf test.tar
$ cd test
$ls -laF
Wow!
The size of foo is zero !