Hi, At Thu, 5 Oct 2006 01:25:00 +0900, Jim Meyering wrote in [ruby-core:08999]: > It is not at all trivial to fix this "properly". > By "properly," I mean in a way that rm_rf can remove an arbitrarily > deep hierarchy securely while remaining efficient and thread safe. > Modulo hard-coded diagnostics, the C implementation in the GNU coreutils > package (src/remove.c) should be appropriate. It doesn't feel appropriate to chdir inside a library since it affects whole process. -- Nobu Nakada