delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/13/21:41:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A5BE22C.5000003@biyani.org>
Date: Mon, 13 Jul 2009 20:41:00 -0500
From: Jacob Jacobson <news AT biyani DOT org>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
Newsgroups: gmane.os.cygwin
To: cygwin AT cygwin DOT com
Subject: Re: wrong home directory
References: <4A5B5FE4 DOT 7060209 AT gmail DOT com> <416096c60907130942y779c3c83pfa2cb766ccce4009 AT mail DOT gmail DOT com>
In-Reply-To: <416096c60907130942y779c3c83pfa2cb766ccce4009@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Andy Koppe wrote:
> 2009/7/13 hvshare:
>> Hello,
>>
>> I've searched all over the web for an answer to my problem but i couldn't
>> find one, so I decided to send a mail here.
>>
>> After I installed Cygwin, I noticed that my home directory '~' is not
>> /home/helvio, i.e. /cygdrive/c/cygwin/home/helvio (helvio is my user ID), as
>> I wanted it to. Instead, my home directory is /cygdrive/c/Program
>> Files/Emacs ! This is the folder where my GNU Emacs for Windows v21.3.1 is
>> installed (I got it here: http://ftp.gnu.org/gnu/emacs/windows/). I'd like
>> to Cygwin to open in /home/helvio by default, but I don't know how to do
>> this!
> 
> I'd guess that emacs has set a system-wide HOME environment variable.
> That would take precedence over the setting in Cygwin's /etc/passwd.
> Check under System Properties->Advanced->Environment Variables.
> (That's where they are in XP anyway.)
> 
> Andy
> 
Try changing /etc/passwd so that your home address is /cygdrive/c/home..


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019