From: "hsbt (Hiroshi SHIBATA)" Date: 2022-09-26T03:00:22+00:00 Subject: [ruby-core:110077] [Ruby master Feature#9260] make FileUtils.rm_rf raise on errors Issue #9260 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Closed We continue to discuss this to https://bugs.ruby-lang.org/issues/18784. ---------------------------------------- Feature #9260: make FileUtils.rm_rf raise on errors https://bugs.ruby-lang.org/issues/9260#change-99330 * Author: bdimych (Dmitry Bolshakov) * Status: Closed * Priority: Normal ---------------------------------------- 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? -- https://bugs.ruby-lang.org/ Unsubscribe: