HOME when using both cygwin and cygwin64

Marco Atzeri marco.atzeri@gmail.com
Fri Feb 26 08:21:00 GMT 2016


On 26/02/2016 05:18, Eliot Moss wrote:
> Dear Cygwin-ers -- I solicit suggestions around the following.
> For a long time I have used cygwin (32 bit) almost exclusively,
> and in that universe my home directory is /home/moss, which in
> Windows land is C:\cygwin\home\moss.  Now I also have cygwin64
> installed under C:\cygwin64, with another home directory there,
> C:\cygwin64\home\moss.  When I start a 64-bit bash in a 64-bit
> xterm, HOME gets set to /cygdrive/c/cygwin/home/moss.  Does
> this seem right?  It seems counter-intuitive to me -- should
> it not be /home/moss, namely C:\cygwin64\home\moss?  If that
> would be better (I think so), how can I best achieve it?
>
> Regards -- Eliot Moss
>

Hi Elliot,
The default is /home/$USERNAME
https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-passwdinfo

If it is different you modified it in some way

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



More information about the Cygwin mailing list