This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Install puts home in /c/Users
- From: Lee Savidge <lee dot savidge at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 18 Oct 2013 14:24:36 +0100
- Subject: Re: Install puts home in /c/Users
- Authentication-results: sourceware.org; auth=none
>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.
No, this is the place that Windows creates under Windows 7 for User
account folders. I didn't create this folder structure. It was created
when I installed Windows on the machine. Yes I have rights. I'm not on
a domain and I'm the administrator of this computer.
>> 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.
Now this is interesting. In my environment variables in Windows, HOME
points to %USERPROFILE% which equates to C:\Users\mywindowsaccount
There are no %HOMEDRVE% or %HOMEDIR% variables.
I am assuming that Windows has decided to make use of the HOME
variable which points to my Windows user account folder home. Does
Cygwin also use this? Can I make Cygwin use its own so I can repoint
it to its original folder?
Thanks,
Lee
--
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