Aman Karmani

Results 336 comments of Aman Karmani

Another alternative is: ``` if err, ok := err.(*exec.Error); ok && err.Err == exec.ErrNotFound { ```

Similarly: ``` $ authbind --deep /usr/bin/python -m SimpleHTTPServer 82 socket.error: [Errno 13] Permission denied $ brew install python3 $ authbind --deep /usr/local/bin/python3 -m http.server 82 Serving HTTP on 0.0.0.0 port...

Unfortunately this also means that most shell scripts/wrappers will not work with authbind, since they'll use `/bin/sh` or `/bin/bash` which won't pass `DYLD_INSERT_LIBRARIES` onto child processes.

It appears that `master` also works just as well when you take into account the caveats about system-binaries above. I'm going to rip out the mach_override dependency to keep things...

The diff here is tiny now, and contains only a small feature to print a warning when you've forgotten to setuid the helper. The caveat regarding `DYLD_INSERT_LIBRARIES` mentioned above appears...

> System Integrity Protection > > A new security policy that applies to every running process, including privileged code and code that runs out of the sandbox. The policy extends...

This happens if you specify a pidfile but your start command does not daemonize.

:+1: Would you accept a patch that adds a `package.json` and push it to npm?

Strange, it seems `siteconf20140529-5820-s957to-0` is leaking into your environment somehow, probably into `RUBYOPT`