delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/18/10:11:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=fGBAVs7o/kkDLGXcvKP9H4YWQUgZ90J/ib7d0ec2piibsFLZCsN5a
Q3mBeIbPAEm9O909NeP8HQHNXTaymyUv+jad+xH5DXj7liD2vTpu3iJE3O+F9fJ5
X5FscmiMxiXH8FnvC0sbInqdOuuo1/IJc0B0rnFCUlWn77Tk9loHR8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=k7PCx3Bs2EoCZci9+iKdD6oTvYo=; b=KE47wdJYV7efFrK6pPEbVZZ3Jeq0
daHAqsdjsgL8cl3zCW5LGYpa0m8V/a6SYE9JGw1+uwaSfrZpIBzlaLSov/O+Y80k
yJ1BPALiib/qmw6JaJppJ+cSOTW7zslB25/IdquAIIuQWQFEpbubaR+sJRBv29tw
u1R4+jnpKH10Pfo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 18 Oct 2013 16:11:02 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Install puts home in /c/Users
Message-ID: <20131018141102.GL23477@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAF9Kgh-_u5e6TS2CNZXgri18C8OBkr96VK5ttDSAbew5is5Qeg AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAF9Kgh-_u5e6TS2CNZXgri18C8OBkr96VK5ttDSAbew5is5Qeg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--d6iqOn7HZPWKXx18
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Oct 18 14:50, Lee wrote:
> >>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?
> >
> >Try modifying /etc/passwd for "myuseraccount" to point the home directory
> >where you want it.
> >
> >cgf
>=20
> This is what is in /etc/passwd
>=20
> lsavidge:unused:1001:513:U-Laptop\lsavidge,S-1-5-21-5255265862-4599952367=
-159522435-1001:/home/lsavidge:/bin/bash
>=20
>=20
> So, U-Laptop\lsavidge matches my laptop name and windows user account.
>=20
> I assume that this: /home/lsavidge
>=20
> Is supposed to be where cygwin goes once loaded?
>=20
> How does it get there? Under the directory in C:\Cygwin64\home there
> are no subdirectories which I would have expected
> C:\Cygwin64\home\lsavidge and for /home/lsavidge to be mapped to that
> directory.

I assume you have a variable called HOME in your windows environment.
If so, remove it and try again.

Also, how do you start Cygwin?  Do you use the default "Cygwin{64}
Terminal" shortcut?  If so, this shouldn't happen since the Cygwin
terminal (aka mintty) will cd to your home dir as in /etc/passwd
when started with the "-" option, as is the case for the Cygwin{64}
Terminal shortcut.

If you start Cygwin via some self-created shortcut, or if you use
the old "Cygwin" shortcut which starts a shell in a console window,
the default is to use $HOME from the environment.


Corinna

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

--d6iqOn7HZPWKXx18
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBAgAGBQJSYUF2AAoJEPU2Bp2uRE+gOfAP/j7th1/7XyHfAJ4SWZ5xzOkg
X61T1zYEVdy+aKszIfj40nbR6Hy7YoY0Dh5/6kwYV1qgy+wrSVLoLKcyLrxg7ejS
LZSQHvD61d0qLgzC7F2Ene/PtLHFbDZqbLbJOUye2hW7cLFcyL4LAEqyh/hTLJY0
7kq9Sxa75CXnev0leisOosAxb24Qgb2LZM/zrcz3uTFEovVF8jGa3kODWfVjgM3R
Y6LTXRT9YAwCh7UbWYYrWipuvT7bOagIJq5wcnxp38tdZcsYMPY1Tx4b9AA32uYQ
QJjpmLv1t+enup1GBF4zmrjO/kWf1K3tmjWGzYayQXO16QmI0W4vmjbKYx1+GNg4
KSspAJyQu/4ht1QVCcF0BilnGjPcCdp6NXtxe8gabXHCTBhBKWos+nTWzF6WWdoU
ODvauMT9FGv6w8kwh9cebPIGEUeNksXWDHqXfKappEah72PjAyLkdlJzCG7YzQ0H
bAbXBNkNOssuIEKFjIaR5ab69iBgxMmJpqGs0F0ev1/Rf1DrfgMAADy6GllES0/u
CSjKrs0R+eSod+yy14qeeyDgMr4yXsuBGLa4sNJbKswWFJ7G7xDWFyEA57PDjB5e
y/AkbGKoWSoeFG1o9+JRAFOumOdw9hSiWLC457ll2dbfZMeX7koCVODqXULH5Quu
ZHF482ZOIAcKbbK8yGge
=pP5a
-----END PGP SIGNATURE-----

--d6iqOn7HZPWKXx18--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019