git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4beb9ad
)
afs-dont-mask-rights-granted-by-lookup-20020328
author
Derrick Brashear
<shadow@dementia.org>
Thu, 28 Mar 2002 22:00:55 +0000 (22:00 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 28 Mar 2002 22:00:55 +0000 (22:00 +0000)
lookup is sufficient for this, fix the client not to bogusly
enforce extra restrictions
src/afs/VNOPS/afs_vnop_lookup.c
patch
|
blob
|
history
diff --git
a/src/afs/VNOPS/afs_vnop_lookup.c
b/src/afs/VNOPS/afs_vnop_lookup.c
index
f356883
..
726a95d
100644
(file)
--- a/
src/afs/VNOPS/afs_vnop_lookup.c
+++ b/
src/afs/VNOPS/afs_vnop_lookup.c
@@
-1010,7
+1010,7
@@
afs_lookup(adp, aname, avcp, acred)
/* Check for read access as well. We need read access in order to
stat files, but not to stat subdirectories. */
- if (!afs_AccessOK(adp, PRSFS_READ, &treq, CHECK_MODE_BITS))
+ if (!afs_AccessOK(adp, PRSFS_LOOKUP, &treq, CHECK_MODE_BITS))
no_read_access = 1;
/* special case lookup of ".". Can we check for it sooner in this code,