This is the mail archive of the cygwin@cygwin.com 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]

Re: Wrong /home


At 12:52 AM 9/26/2001, Arthur Schwarz wrote:
>After uninstall of B20.1 and installation of v1.3.3 my 'old' home directory
>(/cygdrive/c/home2/<name>) became my home rather than my 'new' one
>(/home/<name>). I've looked through the FAQ and the User's Guide, and looked
>through the source (bash-2.05-7/shell.c). I've changed my /etc/passwd to
>ensure that it is accessed by getpwuid in shell.c, and modified all of the
>'cygnus solutions' entries in the Win98 registry to reference /home/<name>
>as needed. In /etc/profile $HOME is used and I haven't found where $HOME is
>exported. The easy workaround is to put a .bashrc file changing $HOME in the
>'old' home and just forget it. But I'd like to find out why this is
>happening and fix it (if it needs fixing) or do something to cause the 'new'
>home to be referenced at shell startup. Any idea what is going on?



I assume you're using bash --login and that your /etc/passwd entry points
to /home/<name> and that /home/<name> exists.  Too many assumptions?
Maybe you should verify this.

Output from cygcheck -s -r -v would make your environment clearer to those
that don't have access to your machine.  As I'm sure you're aware, your
issue is a local configuration problem.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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