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: Install puts home in /c/Users


On Fri, Oct 18, 2013 at 12:35 PM, Lee Savidge  wrote:
> I've been using cygwin for many years simply because of the number of
> tools it gives me that Windows simply doesn't have or doesn't do very
> well. A while ago my install of cygwin suddely changed my home
> directory from
>
> /cygdrive/c/cygwin/home/myuseraccount
>
> to
>
> /cygdrive/c/users/mywindowsuser
>
(snip)
>
> Firstly, why? Why make my cygwin home directory use the same folder
> that Windows uses which is full of a load of stuff that Windows needs
> to keep?

Presumably because that's the place for _your_ stuff, and you are sure
to have write rights.

> Secondly, how can I put it back as it used to be so that when I opened
> bash it defaulted to my home directory which was mapped to
>
> /cygdrive/c/cygwin64/home/myuseraccount


I had this happen to me at work ($HOME pointed to a network drive
instead of C:\cygwin\home\...) and IIRC the solution was to unset the
%HOMEDRVE% and %HOMEDIR% environment variables before installing.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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