delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/13/14:58:31

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 <sean AT mavenomics DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019