mirror of
https://github.com/php/php-src.git
synced 2025-01-20 02:33:37 +08:00
- fix ACL cache for read check
This commit is contained in:
parent
f7096da972
commit
6711276b3c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user