X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Jacob Jacobson Subject: Re: wrong home directory Date: Mon, 13 Jul 2009 20:41:00 -0500 Lines: 23 Message-ID: <4A5BE22C.5000003@biyani.org> References: <4A5B5FE4 DOT 7060209 AT gmail DOT com> <416096c60907130942y779c3c83pfa2cb766ccce4009 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <416096c60907130942y779c3c83pfa2cb766ccce4009@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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