delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/26/05:38:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 26 Sep 2001 10:37:37 +0100
Message-ID: <9251-Wed26Sep2001103737+0100-starksb@ebi.ac.uk>
X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I);
VM 6.92 under Emacs 20.7.1
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: "Arthur Schwarz" <aschwarz1309 AT worldnet DOT att DOT net>
Cc: <cygwin AT cygwin DOT com>
Subject: Wrong /home
In-Reply-To: <000701c14646$fdb5f520$269f480c@arthursc>
References: <000701c14646$fdb5f520$269f480c AT arthursc>

On Tuesday 25 Sep 01, Arthur Schwarz writes:
> 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?

If this is Win98, did you look at autoexec.bat?

Regards,
David


--
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/

- Raw text -


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