Issue #9260 has been reported by bdimych (Dmitry Bolshakov).

----------------------------------------
Feature #9260: make FileUtils.rm_rf raise on errors
https://bugs.ruby-lang.org/issues/9260

Author: bdimych (Dmitry Bolshakov)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


I did have read that "force" flag ignores StandardError,
but it was unexpected for me because of linux's "rm -rf" fails if it can't delete.
"rm --help" says "-f ignore nonexistent files"
Imho it sounds better than just ignore all errors
Why isn't it done this way?



-- 
http://bugs.ruby-lang.org/