delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=4.4 required=5.0 tests=AWL,BAYES_20,BOTNET,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
Message-id: | <4EA744E7.5030701@cygwin.com> |
Date: | Tue, 25 Oct 2011 19:23:19 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: home path for cygwin 1.7.9 is acting funny |
References: | <CANDZmsV9KSWcHFxgZ1b9XrG+GX8bcMTZo5_DSE1XtqNNupK=zA AT mail DOT gmail DOT com> |
In-reply-to: | <CANDZmsV9KSWcHFxgZ1b9XrG+GX8bcMTZo5_DSE1XtqNNupK=zA@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 |
On 10/25/2011 11:13 AM, Matthew Smith wrote: > I installed to "c:\personal\cygwin" on my windows xp machine. > > If I open a command prompt and type "echo %HOME%", I get "C:\Documents > and Settings\Matt" > > If I then start an ssh connection from DOS (not the Cygwin program), I > get an error at the beginning of the connection initiation that states > "Could not create directory 'C/.ssh'." > > This means that I can never save the certificate of the server I > always ssh to so I always have to manually accept the connection. > > Here's the really odd thing: If I start cygwin in another window and > then come back to my regular dos screen and run the ssh connection > again, I don't get this error. If I re-examine the %HOME% path in the > DOS window while cygwin is running, it still looks the same. > > I have searched exhaustively on this topic and the one solution that > keeps coming up is to make sure your /etc/passwd file inside of cygwin > points to the home path. Mine seems to because my entry ends with: > ":/cygdrive/c/Documents and Settings/matt:/bin/bash" Mount your path above as /home/matt, update your '/etc/passwd' file, and try again. Spaces in paths are likely causing you to trip and fall. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |