]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-viced-write-perm-grants-read-lock-20070423
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 24 Apr 2007 01:41:03 +0000 (01:41 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 24 Apr 2007 01:41:03 +0000 (01:41 +0000)
commit6e1a4895c02a63fccf54b6c42a354ebd0671da16
tree53cba1396ed823ade40cd923c867fb06c07c7617
parent9b627ccc5d24804e72ec9bf656a4c079a3a4fe85
STABLE14-viced-write-perm-grants-read-lock-20070423

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.

(cherry picked from commit bb61e1dc678ea28132c195438fc1f157fa580cd1)
src/viced/afsfileprocs.c