delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/11/18:13:50

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
Date: Tue, 11 Oct 2005 15:13:26 -0700
From: David Rothenberger <daveroth AT acm DOT org>
Subject: Re: please test: coreutils-5.90-2
In-reply-to: <loom.20051009T042005-680@post.gmane.org>
To: cygwin AT cygwin DOT com
Message-id: <434C3906.6090304@acm.org>
MIME-version: 1.0
References: <433F5562 DOT 1060806 AT byu DOT net> <loom DOT 20051009T042005-680 AT post DOT gmane DOT org>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

--------------enig3EE1C51DB8ED6D00C3FA0157
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 10/8/2005 7:29 PM, Eric Blake wrote:
> Eric Blake <ebb9 <at> byu.net> writes:
> My bug in 'mkdir -p' in 5.90-1 proved immensely annoying, crippling such things
> as attempting to build the cygwin dll from CVS.  So I have uploaded 5.90-2.

I'm having another problem with 'mkdir -p' in 5.90-2.

I have a script that attempts to do "mkdir -p c:/dir1/dir2/dir3". This 
started failing with a permission denied error for c:/.

I eventually discovered that it also fails using unix paths if the 
absolute path provided to mkdir starts at the root of a Windows drive. 
Here's a little example:

% mkdir /tmp/foo
% mount e:\\ /tmp/foo
% mkdir -p /tmp/foo/bar
mkdir: cannot create directory `/tmp/foo': Permission denied
% mkdir /tmp/foo/bar

(e: is a real drive on my system.)

I have my cygdrive prefix set to '/'. Commands like "mkdir -p /c/foo" 
also failed even though "mkdir /c/foo" succeeded.

This is with a home-built CVS DLL corresponding to the 20051003 snapshot.

-- 
David Rothenberger                spammer? -> spam AT daveroth DOT dyndns DOT org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

"... all the good computer designs are bootlegged; the formally planned
products, if they are built at all, are dogs!"
		-- David E. Lundstrom, "A Few Good Men From Univac",
		   MIT Press, 1987

--------------enig3EE1C51DB8ED6D00C3FA0157
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDTDkNtE+6Jn9n5zQRAlxJAJ9XbFHAadiFHX929ahcVP+XM8gV5ACeJU+T
pw3dQnGmW9lrRSpdbXaVyjM=
=53nA
-----END PGP SIGNATURE-----

--------------enig3EE1C51DB8ED6D00C3FA0157--

- Raw text -


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