X-Recipient: archive-cygwin@delorie.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 To: "CygWin Users' List" Subject: Re: How do I change the default home directory after I fire up cygwin? Message-ID: <20130122171241.GL40309@justpickone.org> References: <1358869942988-95558.post@n5.nabble.com> <738549989.20130122203154@mtu-net.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E7UzyiO3cWVgLa0z" Content-Disposition: inline In-Reply-To: <738549989.20130122203154@mtu-net.ru> User-Agent: Mutt/1.4i Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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@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@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--