Inconsistence on file operation when the name already exists with exe extension

Aaron Schneider notstop@users.sourceforge.net
Sun Jul 8 20:03:00 GMT 2012


On an empty dir:

touch file.exetouch file.imgtouch file doesn't create the corresponding file.
Then
touch helppcp helpp file
cp: can't create regular file «file»: File exists
On rm file it removes the file.exe instead of saying file not found.
Is this behavior intended? This is not unix like, the filename should be preserved as is. 		 	   		  

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