var fs = require('fs')

var OTHERS = parseInt('0001', 8)
var GROUP = parseInt('0010', 8)
var USER = parseInt('0100', 8)

module.exports = function (path, cb) {
  fs.stat(path, function (er, stats) {
    if (er) return cb(er)
    cb(er,
      stats.mode & OTHERS ||
      (stats.mode & GROUP && process.getgid() === stats.gid) ||
      (stats.mode & USER && process.getuid() === stats.uid)
    )
  })
}

@@ -21,377 +21,292 @@
 ')%0A%0A
-var OTHERS = parseInt('0001', 8)%0Avar GROUP = parseInt('0010', 8)%0Avar USER = parseInt('0100', 8)%0A%0Amodule.exports = function (path, cb) %7B%0A  fs.stat(path, function (er, stats) %7B%0A    if (er) return cb(er)%0A    cb(er,%0A      stats.mode & OTHERS %7C%7C%0A      (stats.mode & GROUP && process.getgid() === stats.gid) %7C%7C%0A      (stats.mode & USER && process.getuid() === stats.uid)%0A    
+module.exports = function (path, cb) %7B%0A  fs.stat(path, function (er, stats) %7B%0A    var mode = stats.mode%0A%0A    var owner = mode %3E%3E 6%0A    var group = (mode %3C%3C 3) %3E%3E 6%0A    var others = (mode %3C%3C 6) %3E%3E 6%0A%0A    if (er) return cb(er)%0A    cb(er, !!(owner & 1) %7C%7C !!(group & 1) %7C%7C !!(others & 1)
 )%0A  

Change the executable check—hopefully work w/linux