This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do I change the default home directory after I fire up cygwin?


Andrey & Yves, et atl --

...and then Andrey Repin said...
% 
% > I start up cygwin and do pwd, and this is my home directory.
% > $ pwd
% > /cygdrive/h
% 
...
% 
% 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-1289676208-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
-- 
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.

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]