Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: Cygwin List <cygwin@cygwin.com>
Message-Id: <6.1.0.6.0.20040922110557.03ead150@pop.prospeed.net>
X-Sender: 
Date: Wed, 22 Sep 2004 11:10:52 -0400
To: <robin-lists@robinbowes.com>, <luke.kendall@cisra.canon.com.au>,
   <cygwin@cygwin.com>
From: Larry Hall <lh-no-personal-replies-please@cygwin.com>
Subject: RE: Request for change to /etc/profile
In-Reply-To: <200409220929.i8M9T3xe018137@mail.prospeed.net>
References: <20040922083046.252F084CB1@pessard.research.canon.com.au> <200409220929.i8M9T3xe018137@mail.prospeed.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 05:28 AM 9/22/2004, you wrote:
>Hi,
>
>I've got a sort-of-related issue with the location of the home directory.
>
>On my work laptop, my home directory is on a network share (mapped as a H:
>drive) and "My Documents" is on their too. This is made available offline using
>the ... "Make Available Offline" feature of WinXP.
>
>When I'm connected to the network all is well and cygwin correctly finds my home
>directory, However, if I'm not connected to the network, cygwin just starts in
>root (/). My home directory is there on the machine, but cygwin doesn't find it.
>
>Is there any chance that this could be fixed?


Depends on what's going on in your environment I guess.  Take a look at
'/etc/profile' and you'll see how "HOME" is set.  From that, one can 
surmise that you don't set "HOME" in your Windows environment (good! :-) ),
that your user doesn't exist in your '/etc/passwd' file, and that 
"HOMEDRIVE" and "HOMEPATH" don't exist.  So you're left with "/".  You'll
need to investigate these areas and why they differ between "on-line" and 
"off-line" use.


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


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

