X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received-SPF: none receiver=mailfe08.swip.net; client-ip=188.155.175.201; envelope-from=vmail AT mycircuit DOT org Message-ID: <4AF2BA7A.6030807@mycircuit.org> Date: Thu, 05 Nov 2009 12:43:54 +0100 From: Peter User-Agent: Thunderbird 2.0.0.23 (X11/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: rsync appends .exe extension References: <4AF1E7E5 DOT 8080104 AT mycircuit DOT org> <20091105091840 DOT GI26344 AT calimero DOT vinschen DOT de> In-Reply-To: <20091105091840.GI26344@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Dear Corinna Thanks for you kind support. > So you're running rsync from the Linux source side. Hmm, that's a problem > for debugging. Can you turn this around and run rsync from the Cygwin > target side? Does the same problem occur? I expect it will. > > Its even simpler, I can run it locally on the cygwin install to reproduce the error: $ cd / $ mkdir copywin $ cd copywin $ rsync -av ../c . # this is my windows install $ find . -name "*.*.exe" ./winnt/system32/mode.com.exe ... $ find . -name "*.*.exe" -print0 | xargs -0 file PE32 executable for MS Windows (native) Intel 80386 32-bit ... all "renames" are of this type, but so are others that have not been "renamed" like : ./winnt/system32/wupdmgr.exe which is of the same file type as the wrongly renamed This problem does not happen, if I use the cp(1) command instead of rsync Can you reproduce this ( its a windows professional 2000 with all service packs applied here ) ? If not, please let me know if not, I will provide trace and some binaries. >> This works, except that for some binaries ( I could not determine >> any pattern or rule ) ending with .exe .src or .sys , cygwin adds >> .exe extensions ( yielding files like .sys.exe ). >> > > It should definitely not happen with files ending in .exe. A couple > of questions: > > Sorry, I was inaccurate, it does not happen on .exe, only on .com , .sys and .src Peter -- 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