X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 2 Apr 2009 18:13:17 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Strange problem with running dmake via ssh Message-ID: <20090402161317.GD12738@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> <20090402152317 DOT GZ12738 AT calimero DOT vinschen DOT de> <060C5EFC-5083-4C89-9257-BA5DB382C173 AT von-campe DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <060C5EFC-5083-4C89-9257-BA5DB382C173@von-campe.com> 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:48, Alfred von Campe wrote: > One thing I forgot to mention is that we run the Cygwin sshd service as a > specific user so that we can access network shares without having to > specify a password, and I am logged in as that user. I can run other > Windows commands without a problem. It's just dmake that is throwing a > fit. Turns out I didn't read your OP closely. This has nothing to do with user context switching. Your explanation about using sshd just hit the wrong switch in my cheese^Wbrain. > dmake: Error -- \bin\bash: No such file or directory Dmake alone is the culprit, given that. The problem here is that dmake as native process has simply no idea about Cygwin's mount table. Apparently it checks for a file \bin\bash, but where is that supposed to be when using native Win32 calls? dmake would have to know to add Cygwin's Win32 equivalent of the root dir from Cygwin's mount table so that the file becomes, say, C:\bin\bash. And even then it wouldn't find the file, except it knows that it has to add a ".exe" suffix... 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/