bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9813: rm -rf calls rmdir() prior to close(), which can fail


From: Eric Blake
Subject: bug#9813: rm -rf calls rmdir() prior to close(), which can fail
Date: Mon, 24 Oct 2011 07:57:57 -0600
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

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]