Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040922110557.03ead150@pop.prospeed.net> X-Sender: Date: Wed, 22 Sep 2004 11:10:52 -0400 To: , , From: Larry Hall Subject: RE: Request for change to /etc/profile In-Reply-To: <200409220929.i8M9T3xe018137@mail.prospeed.net> References: <20040922083046 DOT 252F084CB1 AT pessard DOT research DOT canon DOT com DOT au> <200409220929 DOT i8M9T3xe018137 AT mail DOT prospeed DOT 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/