delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/22/12:14:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=BAYES_40,KHOP_PGP_SIGNED
X-Spam-Check-By: sourceware.org
Date: Tue, 22 Jan 2013 12:12:41 -0500
From: David T-G <d13 AT justpickone DOT org>
To: "CygWin Users' List" <cygwin AT cygwin DOT com>
Subject: Re: How do I change the default home directory after I fire up cygwin?
Message-ID: <20130122171241.GL40309@justpickone.org>
References: <1358869942988-95558 DOT post AT n5 DOT nabble DOT com> <738549989 DOT 20130122203154 AT mtu-net DOT ru>
Mime-Version: 1.0
In-Reply-To: <738549989.20130122203154@mtu-net.ru>
User-Agent: Mutt/1.4i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

--E7UzyiO3cWVgLa0z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Andrey & Yves, et atl --

...and then Andrey Repin said...
%=20
% > I start up cygwin and do pwd, and this is my home directory.
% > $ pwd
% > /cygdrive/h
%=20
...
%=20
% Check the contents of your $HOME variable.

But isn't $HOME set based on what the shell gets?  So whatever is setting
it wrong is going to continue to do so as long as it gets garbage.

Yves, is this in an NT domain environment or standalone?  You might go to
Control Panel -> System -> Advanced -> Environment Variables and check
for something like "profile directory" there; it's been a long time, but
I vaguely recall having a similar problem (before I for other reasons
just told them to get rid of my stupid H: drive that always got in the
way :-)

Here's how my system, under an NT domain, looks:

  dt6667 AT gacdtl03dt6667 ~
  $ egrep dt6667 /etc/passwd
  dt6667:unused:1694918:544:U-ITSERVICES\DT6667,S-1-5-21-2057499049-1289676=
208-1959431660-1684918:/home/dt6667:/bin/bash

  dt6667 AT gacdtl03dt6667 ~
  $ df -kh /home
  Filesystem                 Size  Used Avail Use% Mounted on
  C:/documents and settings  233G  226G  7.6G  97% /home


HTH & HAND

:-D
--=20
David T-G
See http://justpickone.org/davidtg/email/
See http://justpickone.org/davidtg/tofu.txt

I appreciate everyone's individual tactic in the Spam Wars, but I just
don't have the time or energy to captcha or register or whatever to be
able to send you email.


--E7UzyiO3cWVgLa0z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFQ/siJGb7uCXufRwARAi0mAKCOy/fALC/YkinXVpCtc2hnGMoYuQCfW3Uo
DrgTI9tIPGyTXz+4lx1L8Oc=
=gFNu
-----END PGP SIGNATURE-----

--E7UzyiO3cWVgLa0z--

- Raw text -


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