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 deletes .exe files on extraction


If you extract a tar.gz file with an executable file and
an excitable file of the same name but with the .exe extension
on extract the .exe file is inexplicably deleted.

e.g.
tar -xvzf test.tar.gz
mydir/myexe.exe
mydir/myexe

ls myddir
myexe

rm -rf mydir; tar -xvzf test.tar.gz; mydir/myexe.exe
mydir/myexe.exe

ls myddir
myexe.exe

rm -rf mydir; tar -xvzf test.tar.gz; mydir/myexe
mydir/myexe

ls myddir
myexe

This happens with:-
tar (GNU tar) 1.22
CYGWIN_NT-6.1-WOW64 blade14 1.7.0(0.212/5/3) 2009-07-24 09:59 i686 Cygwin


-- 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]