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 Message-ID: <3E15C121.77213232@swipnet.se> Date: Fri, 03 Jan 2003 17:58:09 +0100 From: a12 X-Accept-Language: en MIME-Version: 1.0 To: "Pierre A. Humblet" CC: cygwin AT cygwin DOT com Subject: Re: Cygwin home dir=/cygwin/c (not /home/) References: <3E14B9ED DOT 2318E8C9 AT swipnet DOT se> <20030102222853 DOT GA313905 AT WORLDNET> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/