X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Spam-Score: 2.207 Message-ID: <46EF0932.8090902@schoenhaber> Date: Tue, 18 Sep 2007 01:09:38 +0200 From: =?UTF-8?B?TWFya3VzIFNjaMO2bmhhYmVy?= Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.6) Gecko/20070802 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Space in Home Directory Path References: <000901c7f979$51c013d0$4102a8c0 AT gang3g2> In-Reply-To: <000901c7f979$51c013d0$4102a8c0@gang3g2> Content-Type: text/plain; charset=UTF-8 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 G. Huang wrote: > So my question is: Is there a way to change the home directory on the XP > machine to c:\cygwin\home\gang? Or alternatively, get around the space > problem? http://cygwin.com/faq/faq.setup.html#faq.setup.home In /etc/passwd, set the the user home directory field to the desired value, ex. /cygdrive/c/home/gang. The workaround for the problem with spaces in paths is to not have spaces in paths - as the FAQ has already told you. One possible way to achieve this is to use the 8.3-style-version of the path. For example, the user home directory field in /etc/passwd for my main account is set to /cygdrive/c/DOKUME~1/mks/Home (i. e. pointing to C:\Dokumente und Einstellungen\mks\Home) and I have never had any problems with this setting. Regards mks -- 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/