This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash 3.2.49(23): when I start a bash window, $HOME is the DOS value rather than /home/lwv27


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]