Install puts home in /c/Users

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Oct 18 13:25:00 GMT 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20131018/c40363dc/attachment.sig>


More information about the Cygwin mailing list