joyent/libuv — pull request #237 by isaacs (2011-11-06 21:19:27+00:00)
Title: handle EPERM like EACCES

Granted, it's not quite 100% the same thing, but it seems pretty close.