ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: nobu@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:93058] [Ruby trunk Bug#15664] File.executable returns incorrect results in Windows 10
Date: Wed, 12 Jun 2019 00:07:53 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-78462.20190612000752.e409153ae370f3eb@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15664.20190314003132@ruby-lang.org

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/

      parent reply	other threads:[~2019-06-12  0:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-15664.20190314003132@ruby-lang.org>
2019-03-14  0:31 ` [ruby-core:91822] [Ruby trunk Bug#15664] File.executable returns incorrect results in Windows 10 BoldRabbit
2019-06-11 19:07 ` [ruby-core:93049] " merch-redmine
2019-06-12  0:07 ` nobu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-78462.20190612000752.e409153ae370f3eb@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).