Cygwin installing into wrong directory

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Aug 29 17:21:00 GMT 2006


Dave Korn wrote:
> On 29 August 2006 16:09, Larry Hall (Cygwin) wrote:
> 
>> Chuck wrote:
> 
>>> [ ... ] Then I noticed that it created my user home directory in
>>> "c:\documents and settings\userid". I wanted it in "c:\cygwin\home"
>>> where it was before. What happened and how can I move it. I do NOT want
>>> it cluttering up "documents and settings".
> 
>>  [ ... ]    If you must, you can also set HOME in your
>> Windows environment to the directory you want.  When Cygwin starts,
>> it will use this value to override all others set.
> 
>   Isn't the probably the underlying reason why the home dirs were created in
> documents and settings in the first place, i.e. does the machine already have
> HOME set in its environment variables?


Not necessarily.  Windows typically sets HOMEDIRVE and HOMEPATH but not HOME.
The doc-o-settings path is typically the same as these variables but can
also come from the domain server. In environments with domains, the home
directory is set by the domain and, I believe, the HOMEDRIVE and HOMEPATH get
set to the domain's designation on login.


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

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



More information about the Cygwin mailing list