OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_69-15-g3f89c0f
Gerrit Code Review
Fri, 22 Jan 2010 10:50:16 -0800 (PST)
The following commit has been merged in the master branch:
Author: Andrew Deason <firstname.lastname@example.org>
Date: Thu Jan 21 20:42:33 2010 -0500
Fix afs_AccessOK for dropbox case
afs_AccessOK did not check for if we have 'i' rights on a directory, nor
if we were the owner of a file, if we were only checking PRSFS_READ or
PRSFS_WRITE. Thus, it does not correctly address the 'dropbox'
permissions case (if you are the owner of a file and have insert
permissions, you get implicit 'r' and 'w').
Fix this to check for 'i' and ownership when we need to, so the dropbox
special-case check works as intended.
Tested-by: Andrew Deason <email@example.com>
Reviewed-by: Derrick Brashear <firstname.lastname@example.org>
Tested-by: Derrick Brashear <email@example.com>
src/afs/VNOPS/afs_vnop_access.c | 31 ++++++++++++++++++++++++++-----
1 files changed, 26 insertions(+), 5 deletions(-)
OpenAFS Master Repository