]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-viced-write-perm-grants-read-lock-20070423
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 24 Apr 2007 01:28:28 +0000 (01:28 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 24 Apr 2007 01:28:28 +0000 (01:28 +0000)
commitc798298fc7483c97d0e327c6c297c69724d77aa7
tree1eef4c2de91934de16a9685842e379ed97491f0b
parent95a4a16f187ec7b1a1ba8db0535b57aa6f6051fa
DEVEL15-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