please test: coreutils-5.90-2

David Rothenberger daveroth@acm.org
Tue Oct 11 22:13:00 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051011/c27845e0/attachment.sig>


More information about the Cygwin mailing list