X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 2 Apr 2009 17:23:17 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Strange problem with running dmake via ssh Message-ID: <20090402152317.GZ12738@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <0D6D42D2-1441-4985-81BB-1BFEFC96666E AT von-campe DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-02-20) 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 Apr 2 11:15, Alfred von Campe wrote: > I tried running strace to figure out what's going on, but that doesn't > work since dmake.exe is a Windows executable. I also tried running dmake > like this: > > $ cmd /C "dmake flashimage" > dmake .\trioimage.elf LINK_FILE=trioflashimage.ld > BOOTING=BOOT_FROM_FLASH > dmake: Error -- \bin\bash: No such file or directory > dmake: Error code 255, while making 'flashimage' > > As you can see, it fails in the exact same way. Are there some Windows > executables that just can't be run in a Cygwin ssh bash shell? I could > understand if a command didn't run at all under Cygwin/bash, but I just > don't understand why it runs in a local Cygwin shell window but not in an > ssh Cygwin shell window. This chapter in the new Cygwin 1.7 User's Guide is supposed to explain what's going on when switching the user context from a service like sshd: http://cygwin.com/1.7/cygwin-ug-net/ntsec.html#ntsec-setuid-overview Please read it closely, especially the section http://cygwin.com/1.7/cygwin-ug-net/ntsec.html#ntsec-nopasswd1 Hope that helps, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/