This is the mail archive of the
mailing list for the Cygwin project.
Re: Inconsistence on file operation when the name already exists with exe extension
Greetings, Aaron Schneider!
> --On an empty dir--:
> touch file.exe
> touch file.img
> touch file doesn't create the corresponding file.
> touch helpp
> cp 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?
Yes. For more information, read about Cygwin .exe files handling magic.
> This is not unix like, the filename should be preserved as is
Complain to Microsoft...
Andrey Repin (firstname.lastname@example.org) 09.07.2012, <03:15>
Sorry for my terrible english...