mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Windows: ignore SYNCHRONIZE privilege in cm_CheckNTOpen
SYNCHRONIZE has not meaning for AFS so just ignore it. Do not deny an open request because it is set. Change-Id: I33fe4a02d0d1ce2cb4d192dd1b2e5f23fda4091c Reviewed-on: http://gerrit.openafs.org/5410 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
6c18c8844f
commit
793fdd3360
@ -188,6 +188,9 @@ long cm_CheckNTOpen(cm_scache_t *scp, unsigned int desiredAccess,
|
||||
osi_assertx(ldpp != NULL, "null cm_lock_data_t");
|
||||
*ldpp = NULL;
|
||||
|
||||
/* Ignore the SYNCHRONIZE privilege */
|
||||
desiredAccess &= ~SYNCHRONIZE;
|
||||
|
||||
/* Always allow delete; the RPC will tell us if it's OK */
|
||||
rights = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user