OpenAFS CVS Commit: openafs/src/viced by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Mon, 23 Apr 2007 20:41:03 EDT
Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-4/src/viced
Modified Files:
Tag: openafs-stable-1_4_x
afsfileprocs.c
Log Message:
DELTA STABLE14-viced-write-perm-grants-read-lock-20070423
AUTHOR jaltman@secure-endpoints.com
the permission to obtain a write-lock is granted either by having the
"w" permission or the "i" when owning the file. The permission to obtain
a read-lock has been granted by having the "k" permission. However it
makes no sense that someone can obtain a write-lock but not a read-lock.
This patch grants permission to obtain read-locks to those who can obtain
write-locks.
--- DELTA config for openafs-stable-1_4_x follows ---
STABLE14-viced-write-perm-grants-read-lock-20070423 openafs/src/viced/afsfileprocs.c 1.81.2.39 1.81.2.40