Project

General

Profile

Actions

Bug #238

closed

Ruby doesn't respect the Windows read-only flag

Added by jredville (Jim Deville) almost 16 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
-
ruby -v:
[ruby-core:17674]

Description

=begin
If you create a file on Windows, attrib +r the file, to give it read-only permissions, and then run Ruby 1.8 or 1.9 and do a Dir.delete on that file, Ruby will delete the file. It should probably throw a SystemCallError to match other platforms.

This has been tested on Vista SP1 with Ruby 1.8 and 1.9.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0