Project

General

Profile

Actions

Bug #2135

closed

File.executable? returns spurious true's in windows

Bug #2135: File.executable? returns spurious true's in windows

Added by rogerdpack (Roger Pack) about 16 years ago. Updated over 14 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]
Backport:
[ruby-core:25718]

Description

=begin
install hanna gem

C:\ruby\bin>irb
irb(main):001:0> File.executable? 'hanna'
=> true

though this file is not actually executable.
Same thing results thing with all versions of ruby.
Thanks!
=end

Actions

Also available in: PDF Atom