Bug #2135: File.executable? returns spurious true's in windows
http://redmine.ruby-lang.org/issues/show/2135

Author: Roger Pack
Status: Open, Priority: Normal
ruby -v: ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]

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!


----------------------------------------
http://redmine.ruby-lang.org