delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/26/11:35:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_13,J_CHICKENPOX_33,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49CBB102.80801@gmail.com>
Date: Thu, 26 Mar 2009 16:44:50 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: File not found with scp
References: <b583b1500903250721u2ed57e21o4f99348b8aa6d852 AT mail DOT gmail DOT com> <b583b1500903250819h102eadb9l162df88f48aabaa2 AT mail DOT gmail DOT com> <gqdk1b$4f1$1 AT ger DOT gmane DOT org> <b583b1500903251055p4f04b433j94bc5f69e7fb64d4 AT mail DOT gmail DOT com> <49CA78C9 DOT 8020205 AT cygwin DOT com> <b583b1500903260849o58adb1ddsba0661371574fef9 AT mail DOT gmail DOT com>
In-Reply-To: <b583b1500903260849o58adb1ddsba0661371574fef9@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Ryan Stewart wrote:

> "which scp" on both machines points to /usr/bin/scp. A full hd search
> for scp.* on both machines reveals that there are two of them:
> c:\cygwin\bin\scp.exe and c:\Program Files\Git\bin\scp.exe. However:
> 1) Git's scp.exe isn't on the path,
> 2) Removing git's scp.exe doesn't make a difference, and
> 3) Completely uninstalling git from computer A doesn't make a
> difference, either: scp from A to B still puts /home in c:\Program
> Files\Git.
> 
> However (again), if I uninstall git from computer B, then scp from A
> to B works fine. I've verified this multiple times. With git (which is
> actually msysgit) installed on computer B, scp puts files in the Git
> directory. When I uninstall git, scp immediately puts files in the
> right place. Install git again, and the location switches back.

  Exactly what is this version of git and where did it come from?

  Is it conceivable that it's someone trying to *not* be a 3PP by integrating
with the existing Cygwin installation, and for some misguided reason it
modifies your sshd config?

  Looking at the cygcheck diffs suggests two things:

--- cygcheck cmptr B.out        2009-03-26 16:41:59.000000000 +0000
+++ cygcheck cmptr B no git.out 2009-03-26 16:41:56.312500000 +0000
@@ -19,7 +19,6 @@ Path:   C:\WINDOWS\system32
     c:\cygwin\bin
     C:\Program Files\TextPad 5
     C:\Program Files\Windows Imaging\
-    C:\Program Files\Git\cmd


1.  Perhaps a full list of all the files in Git\cmd might be instructive.


-Path = 'C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Subversion\bin;C:\dev\tools\ant-1.7.0\bin;C:\Documents and
Settings\ryan.stewart\quick links;C:\Program Files\YourKit Java Profiler
7.5.11\bin\win32;C:\dev\tools\maven-2.0.9\bin;C:\dev\jdks\jdk1.6.0_11\bin;c:\dev\tools\mysql-5.0.51b-win32
\bin;"C:\Program Files\Graphviz2.16\Bin";C:\dev\tools\groovy-1.5.6\bin;c:\cygwin
\bin;C:\Program Files\TextPad 5;C:\Program Files\Windows Imaging\;C:\Program
Files\Git\cmd'

+Path = 'C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Subversion\bin;C:\dev\tools\ant-1.7.0\bin;C:\Documents and
Settings\ryan.stewart\quick links;C:\Program Files\YourKit Java Profiler
7.5.11\bin\win32;C:\dev\tools\maven-2.0.9\bin;C:\dev\jdks\jdk1.6.0_11\bin;c:\dev\tools\mysql-5.0.51b-win32
\bin;"C:\Program Files\Graphviz2.16\Bin";C:\dev\tools\groovy-1.5.6\bin;c:\cygwin
\bin;C:\Program Files\TextPad 5;C:\Program Files\Windows Imaging\'


2.  What happens if Git is installed, but not in the PATH?

    cheers,
      DaveK




--
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