This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Request for change to /etc/profile
- From: Larry Hall <lh-no-personal-replies-please at cygwin dot com>
- To: <robin-lists at robinbowes dot com>, <luke dot kendall at cisra dot canon dot com dot au>, <cygwin at cygwin dot com>
- Date: Wed, 22 Sep 2004 11:10:52 -0400
- Subject: RE: Request for change to /etc/profile
- References: <20040922083046.252F084CB1@pessard.research.canon.com.au> <200409220929.i8M9T3xe018137@mail.prospeed.net>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
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/