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 Message-ID: <434E574A.4020900@byu.net> Date: Thu, 13 Oct 2005 06:47:06 -0600 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 CC: cygwin AT cygwin DOT com Subject: Re: mkdir -p and EROFS References: <101220051447 DOT 16978 DOT 434D21E5000D25EB0000425222007610640A050E040D0C079D0A AT comcast DOT net> <87r7aqqvie DOT fsf AT penguin DOT cs DOT ucla DOT edu> In-Reply-To: <87r7aqqvie.fsf@penguin.cs.ucla.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Paul Eggert on 10/12/2005 3:24 PM: > Thanks for reporting this. It is indeed a bug in > coreutils/lib/mkdir-p.c. It can be triggered by other errors too. > This is hard to write a test case for, but I'd like to fix things. > Does the following patch work for you? > > 2005-10-12 Paul Eggert > > * mkdir-p.c (make_dir_parents): Don't fail if an intervening mkdir > fails due to EROFS, or due to EEXIST or other reasons for that matter. > Problem reported by Eric Blake. > (ENOSYS): Remove; no longer needed. This patch also has the nice side effect that mkdir -p c:\dir succeeds again, since it no longer filters on the EACCES being returned by mkdir("c:"). Expect a coreutils-5.90-3 when I get a chance to bundle it together in the next couple of days. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDTldK84KuGfSFAYARAq/TAKCRvMibO+DRhywZ7izSEl+D4haOiQCfRin2 w+JhK4opP6RApY0ixYQ46cc= =HKes -----END PGP SIGNATURE----- -- 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/