Actions
Bug #9327
closedWhy FileUtils.rmdir ignores Errno::ENOTEMPTY ?
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
Backport:
Description
It catches Errno::ENOTEMPTY and Errno::ENOENT and just does nothing.
Most of other FileUtils methods have option "force" which is false by default
but rmdir behaves as if it is true implicitly.
Imho it looks unexpected.
Actions
Like0
Like0Like0Like0