executable_real? Same as executable?, but tests using the real owner of the process.
File.stat("testfile").executable_real?