delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/18/09:25:24

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=j5zSZ2zSlK1RK8aWG/u0Z/lF0O2rYgt74bn4NRwN3K0GWvOS8g8Ua
tWOex77dtxoGgf4qKeWM4+lBS87zjUcRblkhe8wX5EWWT/i+95/i7/ta+tBIYA0c
kA1HcucEU27HbpjgbGNaMZJVcLAYZxus4UgV8VKPi0+0fDAOPh6CRQ=
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=ZwgXYWBpxzphm0OGok86xkziHYk=; b=IAt83NHMg+dCxJdsh4zmwPuAw2o/
TKXdezSkrFXcXRg89oIAsVuPxjAeiPXv1RIV63bnvkbu28fELhW27gTA0Cf90B49
8gJ11zrkTfbjECkqd9YeChbdp3cACx1eJSEWxmI3UGyRNUHw/JrJL6ICHy5lTT02
EmI21Xuf/0ad1vU=
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 15:25: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: <20131018132502.GK23477@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAF9Kgh_knwT6MyrBHnOSQd9khjTnU23i29Kqj+vwOyOVWU21Pw AT mail DOT gmail DOT com> <CAEhDDbARr_dnv-UAVf80yE_EQT-T4WOC25BcBrE5eweHJBaz7w AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAEhDDbARr_dnv-UAVf80yE_EQT-T4WOC25BcBrE5eweHJBaz7w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

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?
>=20
> Presumably because that's the place for _your_ stuff, and you are sure
> to have write rights.
>=20
> > 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
>=20
>=20
> 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

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

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

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

iQIcBAEBAgAGBQJSYTauAAoJEPU2Bp2uRE+gAssP/A75z8xLjpX0TcVvRx9opMtT
QYEuMDwCIM33bOtOh0Ro4pkUodgCmEBc/ehIZOQ7xGxjxiQMiJWTJCzxFCxVhnO9
kv4TUds267IjH/5nzPoxdyyb0jFX/CSoEFy/PmBtEcsFLslcAkEf26IUXcHlMjsb
qTRQWovIRotJViLXFscKrXZiSm5W9M3ke81rFap/u+N/STk2mhdt0wPQRoi/WYUW
GHgmV1Ng6lafYktR2kakKgrbJUB2fYfN5mg1meH8F2CeeDHQEdFMnBxUkXMRG4Pa
oaYFebCDQmBbuQkNtY5V3s7WXDO+b9qmQMxljwSOr2fCuigqXyBTL6PoAxovND/M
XPSmzH0hc3+2YvXx7qxd3pxW6/EkUFAwUVJziYSfT/lvpzITOjwQLtHb9RZ1KnLK
s7MMZgbQR3Vav0tQ3WV+gRXyJI2sMiZk5gJHZf52w/LkzPZn48n1dGjJN1+y5PqR
uBdYGbfeJ7QEXXq9DjF2LEu40BQZcKamxyZPx7dg7w5Og4JJr5AhXMAqX/pZMVl/
uK6HQgWpoAeY5rai1TrzWXod7azjzsLdJCcl4B6Xjb7P/0ExQ7dmTY20iKF3p3c7
yGD7lAOu+toukpPWLL05gcQJndRt3prSgaa1qibuhudQtO4rK3C3tQx97Tqj9774
LFxWR02AzT0Coyhs0Jyz
=iSJi
-----END PGP SIGNATURE-----

--ijf6z65S790CMqo8--

- Raw text -


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