From: Jonathan Nieder Date: Wed, 28 Mar 2012 19:45:16 GMT Subject: Re: [PATCH 2/2] git: continue alias lookup on EACCES errors Message-ID: <20120328194516.GD8982@burratino> In-Reply-To: <20120328193909.GB29019@sigill.intra.peff.net> Jeff King wrote: > That's what the patch I posted earlier does. But it means we _also_ > report "permission denied" for inaccessible directories, which is > needlessly confusing (and much more common, I would think). So the message could say $ nosuch nosuch: Permission denied hint: A permissions problem was encountered searching for or hint: executing that command on the $PATH. hint: Check your PATH setting and permissions. or even $ nosuch nosuch: No such file or directory or permission denied