From: nobu.nokada@... Date: 2002-03-13T18:20:22+09:00 Subject: Re: Deleting read only files on Windows Hi, At Wed, 13 Mar 2002 05:26:04 +0900, Morris, Chris wrote: > Ruby 1.6.6 built with VC++ cannot delete read only files, where as 1.6.5 > cygwin could. > > deltest.rb------------------------------- > > puts RUBY_VERSION, RUBY_PLATFORM > File.new("eraseme.txt", File::CREAT) > File.chmod(0444, "eraseme.txt") > puts Dir["eraseme.txt"] require 'ftools' File.rm_f("eraseme.txt") -- Nobu Nakada