This is the mail archive of the cygwin 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]
Other format: [Raw text]

tar fails to expand simple tar.gz across junction point


We're seeing some strange behaviour with tar under cygwin
when its start point is a disk mounted under a directory.

The result is:-

We have the following disk layout:
disk1: c:\dir1\dir2
disk2: d:\ & c:\dir1\dir2

Now when in c:\dir1 and extracting the tar which contains:-
dir2/subdir1/file1

tar fails with:-
tar -xvzf /tmp/test.tar.gz dir2/subdir1/file1
tar: dir2/subdir1/file: Cannot open: No such file or directory


looking in dir2 subdir1 wasnt created.

If we change into c:\dir1\dir2 and retry extract all works
well so there seems to be an issue when the extracting path
straddles the reparse point

uname -a
CYGWIN_NT-6.1-WOW64 blade33 1.7.0(0.212/5/3) 2009-09-11 01:25 i686 Cygwin

Known issue?

   Regards
   Steve


-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


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