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 Oct 18 15:07, Csaba wrote:
> 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.

What about just editing the home dir in your /etc/passwd entry?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpN2DRqjcfNW.pgp
Description: PGP signature


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