This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tar problem - symlinked file


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 !


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]