]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-afsd-list-acl-only-dir-20070515
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 16 May 2007 04:44:44 +0000 (04:44 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 16 May 2007 04:44:44 +0000 (04:44 +0000)
commit5a2e9b78a1e53c0119ed9bdbf6fea3698371d2fa
tree3868de1efbe965deeee4dec357d6f9aaa8b8435f
parente1bfe6c97ea3731ee6a14008bc0fbb167401af81
DEVEL15-windows-afsd-list-acl-only-dir-20070515

FIXES 60258

When the ACL on a directory is list only, attempts to read the status
of items in the directory will fail.  Therefore, it is pointless to try.
Instead, when we know the user ACL does not have read permission, we
should immediately lie about the status info.  That way we don't pound
the file server with requests that will produce an abort which in turn
will trigger force the file server to delay responses to the client.

This change has the added benefit that cached status info is no longer
leaked to callers that do not have appropriate permissions.

With this change the Explorer Shell is much more responsive.

(cherry picked from commit e02fa3e73b258938135244f7e3c09baa464e0c26)
src/WINNT/afsd/smb3.c