From: Pierre Joye Date: Sat, 19 Sep 2009 20:54:34 +0000 (+0000) Subject: - fix ACL cache for read check X-Git-Tag: php-5.3.2RC1~496 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6711276b3cef15fd247e8d4c09021e3c1fa04c96;p=php - fix ACL cache for read check --- diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index 58216efa9d..dedf05330a 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -200,7 +200,7 @@ TSRM_API int tsrm_win32_access(const char *pathname, int mode) /* Keep the result in realpath_cache */ if(bucket != NULL) { - if(desired_access == FILE_GENERIC_READ) { + if(desired_access == (FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS)) { bucket->is_rvalid = 1; bucket->is_readable = fAccess; }