access(2) tests for X_OK that return true do not always guarantee that the file is executable. Instead check the stat(2) mode bits explicitly. This fixes any builds or installs executed as root on Solaris and illumos that contain non-executable scripts.pull/6330/head
parent
5031f4981d
commit
c3d0b95a58
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue