Actions
Bug #2135
closedFile.executable? returns spurious true's in windows
Bug #2135:
File.executable? returns spurious true's in windows
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
Updated by djberg96 (Daniel Berger) about 16 years ago
=begin
Last I heard the IronRuby folks punted and simply went with checking for an .exe extension.
=end
Updated by usa (Usaku NAKAMURA) about 16 years ago
- Assignee set to usa (Usaku NAKAMURA)
=begin
for workaround, use File.stat('hanna').executable?
=end
Updated by usa (Usaku NAKAMURA) about 16 years ago
- Status changed from Open to Closed
=begin
fixed at r25092.
=end
Actions