delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/02/11:19:51

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 <corinna-cygwin AT cygwin DOT com>
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> <AF7D7B8E-7FC0-4C1E-B374-07A23D8B7AEC 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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


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