delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/17/12:05:17

X-Spam-Check-By: sourceware.org
Message-ID: <455DEBAF.1000107@cygwin.com>
Date: Fri, 17 Nov 2006 12:04:47 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
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>
In-Reply-To: <20061117163224.83187.qmail@web56308.mail.re3.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list 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

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019