X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 5 Nov 2009 10:18:40 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: rsync appends .exe extension Message-ID: <20091105091840.GI26344@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4AF1E7E5 DOT 8080104 AT mycircuit DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AF1E7E5.8080104@mycircuit.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Nov 4 21:45, Peter wrote: > Hi > I copying files from a linux station to a win32 - cygwin 1.7 station > using the current openssh server from cygwin > > I run: > rsync -rpogv . -e "ssh" host:/ 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. > 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: - What kind of binaries are that? Windows binaries? Can you please run the file(1) command on them? - Can you please run `strace -o rsync.log rsync ...' from the Cygwin side with just 2 or 3 selected binaries to copy, and send the strace? - Would it be possible for you to send these two or three binaries to me via private email? Please don't do it now, it's just a question. Especially, please check that neither you nor I will have licensing problems afterwards. > Is this normal behavior ? If yes, can it be disabled ? No. It's a heuristic in the rename(2) API, not an overly intelligent, apparently. Looks like it needs to be tweaked some more... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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