delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/26/00:42:26

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
Message-ID: <000701c14646$fdb5f520$269f480c@arthursc>
From: "Arthur Schwarz" <aschwarz1309 AT worldnet DOT att DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Wrong /home
Date: Tue, 25 Sep 2001 21:52:04 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

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?

art




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