Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 11 Oct 2005 15:13:26 -0700
From: David Rothenberger <daveroth@acm.org>
Subject: Re: please test: coreutils-5.90-2
In-reply-to: <loom.20051009T042005-680@post.gmane.org>
To: cygwin@cygwin.com
Message-id: <434C3906.6090304@acm.org>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;  protocol="application/pgp-signature";  boundary=------------enig3EE1C51DB8ED6D00C3FA0157
References: <433F5562.1060806@byu.net> <loom.20051009T042005-680@post.gmane.org>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.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@daveroth.dyndns.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--

