www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/29/17:21:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_21,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 29 Jun 2009 15:20:38 -0600
Message-ID: <806a89db0906291420r3e53e4ecj3cae2de045337c26@mail.gmail.com>
Subject: [1.7] HOME directory is always /tmp
From: Jim Reisert AD1C <jjreisert AT alum DOT mit DOT edu>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I had been running 1.7 in my \cygwin-1.7 directory.

I decided to clean up this morning and created a \cygwin directory
using setup-1.7.exe to re-load all my stuff (gcc, emacs, X server,
etc.).  I renamed the old 1.7 directory to cygwin-1.7.old so it
wouldn't be "in the way".

Everything is working properly, EXCEPT my home directory isn't right.
ssh and ncftp are *both* using /tmp as the home directory.

I have not changed my Windows XP "HOME" environment variable from
C:\HOME (which was working before).  I have not changed my ~/.cshrc
file (xterms find this file just fine).  I did change CYGROOT from
cygwin-1.7 to cygwin.  I've rebooted the PC a couple of times.

CMD.EXE says:

    HOME=C:\Home

My xterm says:

    HOME=/cygdrive/c/Home


I do not understand why ncftp and ssh are suddenly both having
problems with HOME.

- Jim

-- 
Jim Reisert AD1C, <jjreisert AT alum DOT mit DOT edu>, http://www.ad1c.us

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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