delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/24/09:58:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4EA56EE5.7060204@redhat.com>
Date: Mon, 24 Oct 2011 07:57:57 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15
MIME-Version: 1.0
To: Jim Meyering <jim AT meyering DOT net>
CC: cygwin AT cygwin DOT com, bug-gnulib <bug-gnulib AT gnu DOT org>, 9813 AT debbugs DOT gnu DOT org
Subject: Re: rm -rf calls rmdir() prior to close(), which can fail
References: <4EA05C9C DOT 1070809 AT redhat DOT com> <87ipnfe8fl DOT fsf AT rho DOT meyering DOT net> <87d3dmerh9 DOT fsf AT rho DOT meyering DOT net> <8739eiepgi DOT fsf AT rho DOT meyering DOT net>
In-Reply-To: <8739eiepgi.fsf@rho.meyering.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On 10/24/2011 02:58 AM, Jim Meyering wrote:
>   ** Bug fixes
>
> +  rm -rf DIR would fail with "Device or resource busy" on Cygwin with NWFS
> +  and NcFsd file systems.  This did not affect Unix/Linux-based kernels.
> +  [bug introduced in coreutils-7.0, when rm began using fts]

rm didn't use fts() until coreutils 8.0 (the cygwin testing proved that 
coreutils 7.0 did not suffer from the problem).  See also the news for 
8.13 mentioning an rm regression introduced by fts() in 8.0.

-- 
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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