This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Space in Home Directory Path
- From: Markus SchÃnhaber <mailing-cygwin at schoenhaber dot schoenhaber dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 18 Sep 2007 01:09:38 +0200
- Subject: Re: Space in Home Directory Path
- References: <000901c7f979$51c013d0$4102a8c0@gang3g2>
- Reply-to: 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/