X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49CA78C9.8020205@cygwin.com>
Date: Wed, 25 Mar 2009 14:32:41 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: File not found with scp
References: <b583b1500903250721u2ed57e21o4f99348b8aa6d852@mail.gmail.com> 	 <b583b1500903250819h102eadb9l162df88f48aabaa2@mail.gmail.com> 	 <gqdk1b$4f1$1@ger.gmane.org> <b583b1500903251055p4f04b433j94bc5f69e7fb64d4@mail.gmail.com>
In-Reply-To: <b583b1500903251055p4f04b433j94bc5f69e7fb64d4@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Ryan Stewart wrote:
> On Wed, Mar 25, 2009 at 10:52 AM, Thorsten Kampe <...> wrote:
>> * Ryan Stewart (Wed, 25 Mar 2009 10:19:45 -0500)
>>> On Wed, Mar 25, 2009 at 9:21 AM, Ryan Stewart <...>
>>> wrote:
>>> I found the problem. When I use scp--from computer A to computer B
>>> only--my home isn't c:\cygwin\home\ryan, but c:\Program
>>> File\Git\home\ryan. ???
>> Why do you think it is?
> Sorry, I should have given more detail. When I scp from computer A to
> B, the copy succeeds, but it places it in c:\Program
> Files\Git\home\ryan.
> 
>>> c:\cygwin\home\ryan is my home directory on both computer A and B in
>>> normal bash shells and also when I ssh from one to the other. Why is
>>> scp behaving differently?
>> Check /etc/profile for details on how HOME is set...
>>
> I've seen that explanation. HOME is set to /home/ryan on both boxes,
> but this seems to be deeper than just how HOME is set, because a
> /home/ryan exists in both c:\Program Files\Git (wrong place) and
> c:\cygwin (right place). Why would cygwin put /home in a different
> place when I use scp?

http://cygwin.com/problems.html

See <http://cygwin.com/problems.html>.  It's best to include cygcheck output
from both machine in your report.

My WAG is that your 'git' is a <http://cygwin.com/acronyms/#3PP> and you're
getting at least 'scp' from there on the "problem" machine.  But your full
problem report should help determine that.  You can also try things like
"which scp" to see if it points a finger.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

