bazelisk icon indicating copy to clipboard operation
bazelisk copied to clipboard

Consider wrapper when only user- or group-executable

Open EricMountain opened this issue 2 years ago • 1 comments

The bazel wrapper might not be executable by other, only user or group, depending for instance on the umask of the user.

Allow for this by checking the user and group executable bits too. If the file is not executable by the current user, the run will fail with permission denied.

EricMountain avatar Oct 07 '21 12:10 EricMountain

Any update on this PR? This would be a great addition. We are running into this with hosts using restrictive umask settings.

ruddstevens avatar Jun 10 '22 17:06 ruddstevens

Seems like a similar fix has been merged in the interim, so closing this PR.

EricMountain avatar Feb 06 '23 20:02 EricMountain