X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 2 Apr 2009 18:13:17 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Strange problem with running dmake via ssh
Message-ID: <20090402161317.GD12738@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <0D6D42D2-1441-4985-81BB-1BFEFC96666E@von-campe.com> <AF7D7B8E-7FC0-4C1E-B374-07A23D8B7AEC@von-campe.com> <20090402152317.GZ12738@calimero.vinschen.de> <060C5EFC-5083-4C89-9257-BA5DB382C173@von-campe.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

