X-Spam-Check-By: sourceware.org Message-ID: <44F45898.20204@cygwin.com> Date: Tue, 29 Aug 2006 11:09:12 -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.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin installing into wrong directory References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Chuck wrote: > Can someone please help me with this? I've searched the docs but its > like finding a needle in a haystack. I got a new PC recently and need to > reinstall cygwin (unless you can tell me an safe way of copying > everything I had before to the new one). > > I made a list of all packages I had previously and installed them all on > the new PC. Then I noticed that it created my user home directory in > "c:\documents and settings\userid". I wanted it in "c:\cygwin\home" > where it was before. What happened and how can I move it. I do NOT want > it cluttering up "documents and settings". Read the man page for 'mkpasswd' and apply the appropriate switch when you recreate the '/etc/passwd' file (-h if I'm not mistaken, though I may be remembering wrong). Alternatively, if you know what you're doing, just edit the '/etc/passwd' file and change your home directory to whatever you like. If you must, you can also set HOME in your Windows environment to the directory you want. When Cygwin starts, it will use this value to override all others set. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (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/