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]

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.

> --Then--

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


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 09.07.2012, <03:15>

Sorry for my terrible english...

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