[ruby-core:93058] [Ruby trunk Bug#15664] File.executable returns incorrect results in Windows 10
From:
nobu@...
Date:
2019-06-12 00:07:53 UTC
List:
ruby-core #93058
Issue #15664 has been updated by nobu (Nobuyoshi Nakada). I agree on the documentation fix, but I guess that `Gem.bin_path` should return the proper stub file path in this case. ---------------------------------------- Bug #15664: File.executable returns incorrect results in Windows 10 https://bugs.ruby-lang.org/issues/15664#change-78462 * Author: BoldRabbit (Bold Rabbit) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.6.1 * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Calling File.executable? <path> in Windows 10 return false for a file with execute permissions set. ---Files-------------------------------- RailsTest.PNG (108 KB) FilePerm.PNG (3.99 KB) file-executable-doc.patch (1.22 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>