]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-windows-unix-mode-bit-enforcement-20070102
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 3 Jan 2007 00:45:47 +0000 (00:45 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 3 Jan 2007 00:45:47 +0000 (00:45 +0000)
commit3e1261ddb7f036e243c80d17fa2a87dd67de04a9
tree60e034b49b5be62b4d8ee2511aafdf13131bbf0e
parentd303433da24874f58dfccb1524d58e61ff4ce94b
STABLE14-windows-unix-mode-bit-enforcement-20070102

When the Unix mode bits do not include the write bit (0200), then the
file is reported to Windows as read-only.  This also prevents the
acquisition of write-locks.  It should also prevent deletion but the
code in cm_HaveAccessRights() did not remove the PRSFS_DELETE privilege
from the reported rights.

(cherry picked from commit 56d5e6970d27a5c99c04b105481bcf1d1bc3db1e)
src/WINNT/afsd/cm_access.c