]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced-write-perm-grants-read-lock-20070423
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 24 Apr 2007 01:27:30 +0000 (01:27 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 24 Apr 2007 01:27:30 +0000 (01:27 +0000)
commitbb61e1dc678ea28132c195438fc1f157fa580cd1
tree6527797437ed9d2f2f067a45f27bde0f18db674f
parentc5c23b7bc4544af2c1204622cd67b835b27bcdab
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.
src/viced/afsfileprocs.c