tar deletes .exe files on extraction

Steven Hartland killing@multiplay.co.uk
Sat Aug 8 02:16:00 GMT 2009


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



More information about the Cygwin mailing list