From: Eric Covener Date: Thu, 4 Nov 2010 22:36:37 +0000 (+0000) Subject: PR#45722: if we get EACCESS in the directory walk, give the hint that's in 1.3 X-Git-Tag: 2.3.9~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=749058def77d7d53a71350aecee9c519eabee1a4;p=apache PR#45722: if we get EACCESS in the directory walk, give the hint that's in 1.3 about search permissions on intermediate directories. I left the prefix of the message as "denied" instead of "failed" to satisfy web searches. The extended error text was added to 1.3.x but not trunk in http://svn.apache.org/viewvc?view=revision&revision=99781 This plagues users on IRC! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031307 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/request.c b/server/request.c index 612b09eb2f..2779c8de47 100644 --- a/server/request.c +++ b/server/request.c @@ -1080,7 +1080,9 @@ AP_DECLARE(int) ap_directory_walk(request_rec *r) } else if (APR_STATUS_IS_EACCES(rv)) { ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, - "access to %s denied", r->uri); + "access to %s denied because search " + "permissions are missing on a component " + "of the path", r->uri); return r->status = HTTP_FORBIDDEN; } else if ((rv != APR_SUCCESS && rv != APR_INCOMPLETE)