X-Spam-Check-By: sourceware.org Message-ID: <20061117194015.94213.qmail@web56305.mail.re3.yahoo.com> Date: Fri, 17 Nov 2006 11:40:15 -0800 (PST) From: PoWah Wong Subject: Re: Re: mkdir: cannot create directory `/cygdrive/u': No such file or directory To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=ascii 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kAHJed1w015991 * From: "Larry Hall (Cygwin)" * To: cygwin at cygwin dot com * Date: Fri, 17 Nov 2006 12:04:47 -0500 * Subject: Re: mkdir: cannot create directory `/cygdrive/u': No such file or directory * References: <20061117163224 DOT 83187 DOT qmail AT web56308 DOT mail DOT re3 DOT yahoo DOT com> * Reply-to: cygwin at cygwin dot com PoWah Wong wrote: After clicking the Cygwin icon on my windows XP desktop, this message appeared: mkdir: cannot create directory `/cygdrive/u': No such file or directory Copying skeleton files. These files are for the user to personalise their cygwin experience. These will never be overwritten. /usr/bin/install: cannot create directory /cygdrive/u: No such file or directory /usr/bin/install: cannot create directory /cygdrive/u: No such file or directory /usr/bin/install: cannot create directory /cygdrive/u: No such file or directory bash: cd: /cygdrive/u: No such file or directory powah AT ROSE /etc/skel $ Somehow Cygwin depend on the network drive U is connected. Is there a way to change the dependence from drive U to drive C? 1. Change your Windows domain user to have another "home" directory. 2. Edit your '/etc/passwd' file to point to the directory you want to be your home. 3. Recreate your '/etc/passwd' file telling it to use a different path for your home (see 'man mkpasswd' for details on switches to do this). Only (1) is transparent across all invocations of 'mkpasswd'. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 ---------------------------------------------------------------------------------------------------------------------------------- I use Windows XP Home. How to change Windows domain user to have another "home" directory? I added the "HOME" and "HOMEDRIVE" environment variables by the "Control Panel", the message "/usr/bin/install: cannot create directory /cygdrive/u: No such file or directory" disappeared. However, it still want to use /cygdrive/u for ssh. $ ssh root AT 172 DOT 20 DOT 11 DOT 200 Could not create directory '/cygdrive/u/.ssh'. The authenticity of host '172.20.11.200 (172.20.11.200)' can't be established. RSA key fingerprint is b1:b0:eb:83:6b:8b:6a:c0:0a:24:22:da:46:bc:3d:bb. Are you sure you want to continue connecting (yes/no)? yes Failed to add the host to the list of known hosts (/cygdrive/u/.ssh/known_hosts). root AT 172 DOT 20 DOT 11 DOT 200's password: __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/