From: Nobuyoshi Nakada Date: 2006-10-05T18:18:24+09:00 Subject: Re: making FileUtils.rm_rf robust: is anyone interested? 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