This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash 3.2.49(23): when I start a bash window, $HOME is the DOS value rather than /home/lwv27
- From: "Mark J. Reed" <markjreed at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 23 Oct 2009 13:00:40 -0400
- Subject: Re: bash 3.2.49(23): when I start a bash window, $HOME is the DOS value rather than /home/lwv27
- References: <832452.9967.qm@web30803.mail.mud.yahoo.com>
On Fri, Oct 23, 2009 at 12:55 PM, Larry W. Virden wrote:
> $ echo $HOME
> /cygdrive/c/Documents and Settings/lwv27
That looks like it's inherited from Windows. Cygwin won't set HOME if
it's already set in the Windows environment.
> Neither of these directories under /home are associated with me. They
> are, however, associated with the person who is running setup
Ah. IIRC, if you're logging into Cygwin as a user other than the one
who set it up, you'll have to use mkpasswd to add that user to the
Cygwin environment.
--
Mark J. Reed <markjreed@gmail.com>
--
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