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"]
File.delete("eraseme.txt")

-----------------------------------------

C:\Temp>deltest.rb
1.6.5
i386-cygwin
eraseme.txt

D:\temp>deltest.rb
1.6.6
i586-mswin32
eraseme.txt
D:\temp\deltest.rb:5:in `delete': Permission denied - "eraseme.txt"
(Errno::EACC
ES)
        from D:\temp\deltest.rb:5


What *should* it do ... ? Dunno. The OS doesn't allow deletion of read only
files without a switch:

D:\temp>del eraseme.txt
D:\temp\eraseme.txt
Access is denied.

D:\temp>del /F eraseme.txt
(works)

... Some sort of switch then would be nice, perhaps. Thoughts?

Chris