X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Wed, 13 Jan 2010 14:58:16 -0500 Message-ID: <981218441001131158t327ea270y65bc7b37a0e2a1ae@mail.gmail.com> Subject: Broken file move / renaming for Windows Portable Executable files in Cywin 1.7.1-1 on Server 2008. From: Sindhudweep Sarkar To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hello, It seems that the 'mv' command is appending a ".exe" extension to any file it thinks is a PE when the file is moved. For example if I have a file 'a' which happens to be a PE in the current directory: bash-3.2$ ls a bash-3.2$ mv a a.foo bash-3.2$ ls a.foo.exe Is there any way to workaround or patch to fix this behavior? This seems to affect any attempt at renaming files (not just mv). This machine is a 64 bit Server 2008 machine. bash-3.2$ uname -a CYGWIN_NT-6.0-WOW64 MYHOSTNAME 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin Best, Sindhudweep Sarkar -- 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