OpenAFS CVS Commit: openafs/src/viced by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 23 Apr 2007 20:28:29 EDT


Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/viced

Modified Files:
      Tag: openafs-devel-1_5_x
	afsfileprocs.c 
Log Message:
DELTA DEVEL15-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-devel-1_5_x follows ---
DEVEL15-viced-write-perm-grants-read-lock-20070423 openafs/src/viced/afsfileprocs.c 1.113.2.14 1.113.2.15