delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/03/11:59:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E15C121.77213232@swipnet.se>
Date: Fri, 03 Jan 2003 17:58:09 +0100
From: a12 <a12 AT swipnet DOT se>
X-Accept-Language: en
MIME-Version: 1.0
To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
CC: cygwin AT cygwin DOT com
Subject: Re: Cygwin home dir=/cygwin/c (not /home/<userid>)
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0301021341260 DOT 8991-100000 AT slinky DOT cs DOT nyu DOT edu> <3E14B9ED DOT 2318E8C9 AT swipnet DOT se> <20030102222853 DOT GA313905 AT WORLDNET>

Pierre,

'echo %HOME%' yields 'C:\'

Modifying /etc/profile:
# Set up USER's home directory
# 020102 magr40 force to use /home/$USER
#if [ -z "$HOME" ]; then
  HOME="/home/$USER"
#fi
solves my problem, but is it the correct way to do it ?

"Pierre A. Humblet" wrote:

> On Thu, Jan 02, 2003 at 11:15:09PM +0100, a12 wrote:
>
> > Whether I login locally as user 'sysaccount' or domain user
> > 'magr40', the problem persists:
> > HOME=/cygdrive/c
> > HOMEDRIVE=C:
> > HOMEPATH=\
>
> Isn't HOME already defined in the Windows environment, before
> starting Cygwin?
> Start a DOS shell and type echo %HOME%
>
> Pierre
>
> --
> 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/


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