[io-layer] When checking if a file is a program check both read and execute permissio...
commite7aa80048ec6b1803319c793e691896de19d5693
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 2 Feb 2015 16:04:37 +0000 (2 11:04 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 11 Mar 2015 16:27:20 +0000 (11 12:27 -0400)
tree9c8b47cce907d53f8a194e9f16c709f26837afd7
parent518dee183763b7b7e33baeaf0972f37f2d5d8cd1
[io-layer] When checking if a file is a program check both read and execute permissions. Fixes #27565

The original behavior of only checking for read permission broke sudo on OSX which only have the execute permission set.
mono/io-layer/processes.c