delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Fri, 25 Jun 2004 12:18:47 -0400 |
From: | "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org> |
To: | cygwin AT cygwin DOT com |
Cc: | Erik Weibust <erik AT weibust DOT net> |
Subject: | Re: fresh install questions |
Message-ID: | <20040625161847.GA90857@Worldnet> |
References: | <20040625144548 DOT 64891 DOT qmail AT web11703 DOT mail DOT yahoo DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <20040625144548.64891.qmail@web11703.mail.yahoo.com> |
User-Agent: | Mutt/1.4.1i |
On Fri, Jun 25, 2004 at 07:45:48AM -0700, Erik Weibust wrote: > I just had my XP machine at work rebuilt and the first > thing I went to install was cygwin. I went with a > complete "everything" install. The problem is the > same one I've seen before. When the install is > complete I run the shortcut to start cygwin and get a > vague message that makes me think the install didn't > "go so well". As explained in the mkpasswd man page, the home directory in /etc/passwd comes from the Windows home directory specified in your Windows user profile, if any. Else it has the form /home/username > The work around is easy. I edit /etc/passwd in > notepad and change what cygwin uses for $HOME from > /cygdrive/h to /home/erikweibust. > > /home/erikweibust was not created as part of the > install. I think I've had it created before on other > machines on the "first use" of cygwin. I'm not sure > why I get this problem. Is cygwin trying to use some > XP env vars on it's first start? Cygwin will normally create the $HOME directory when running bash, specifically in /etc/profile. You seem to assume that $HOME must be coming from /etc/passwd. As explained in /etc/profile, it can also be inherited by Cygwin from Windows. So the answer to your question is "yes". Pierre -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |