X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <49079225.4050300@cygwin.com> Date: Tue, 28 Oct 2008 18:28:53 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080723 Fedora/2.0.0.16-1.fc8 Lightning/0.9 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: reseting HOME directory References: <20217298 DOT post AT talk DOT nabble DOT com> In-Reply-To: <20217298.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 mcbenus wrote: > Hi, > > I found similar past posts here, but could not totally understand the > answers. For some reason, my HOME directory has changed one day from > /home/USER to /cygdrive/c/Documents and Settings/USER (I guess imported from > the windows settings). At the same time a program I am running using cygwin > started to much slower than before. I don't know if the two problems are > related, but first I would like to set my HOME directory back to /Home/USER. > > I saw people referring to /etc/profile file, or the BASH_PROFILE file in my > (original) home directory, but I could not understand what exactly I should > write in them. I would greatly appreciate your advices. I do not master > linux/cygwin, so if you try to answer, please consider that :) Check to see if HOME is set as an environment variable in Windows. Sounds to me like the change happened outside of Cygwin. Something setting this outside Cygwin is what I suspect. If you find it set there, just get rid of it. If that doesn't work or you're forced to make the change on the Cygwin side, just edit the '/etc/passwd' file to have the proper path for USER. It should be easy for you to find the right spot in '/etc/passwd' to make this change, given that you know the path you don't want. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/