X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_DNSBL_BUMP,KHOP_THREADED,MIME_BASE64_BLANKS,RCVD_IN_MSPIKE_BL,RCVD_IN_MSPIKE_L3,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Date: Mon, 9 Jul 2012 03:17:14 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <12410514575.20120709031714@mtu-net.ru> To: Aaron Schneider , cygwin AT cygwin DOT com Subject: Re: Inconsistence on file operation when the name already exists with exe extension In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id q68NKO7Y022229 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 AT freemail DOT ru) 09.07.2012, <03:15> Sorry for my terrible english...