eslint/eslint — pull request #1451 by uhoreg (2014-11-09 02:28:25+00:00)
Title: ignore unreadable directories

I'm not sure if this is the best fix, but the issue that happens is that eslint tries to find eslintrc, and traverses up the directory tree. If it encounters a directory that it cannot read, then eslint will crash. For example, this happens with flycheck in emacs with pam_tmpdir (since flycheck saves the file to a temporary directory, and pam_tmpdir manages secure per-user temporary directories), but I suppose this could also happen if the user only has execute permissions on /home.