windows-unix-mode-bit-enforcement-20070105
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 5 Jan 2007 17:13:11 +0000 (17:13 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 5 Jan 2007 17:13:11 +0000 (17:13 +0000)
commit290b05b6b6e13fd93d40a8c021f0d8fdf697f7af
treebf449376b99d5adbac18e6e01871b396da8e7682
parent2d68f6a3ef54f4c97ecd6e0561726fc5a89b5a04
windows-unix-mode-bit-enforcement-20070105

modify the write-lock permission test so that the UnixMode bits do not
subtract PRSFS_WRITE from the rights when testing PRSFS_WRITE | PRSFS_LOCK.

PRSFS_WRITE implies PRSFS_LOCK so add it

Add new registry value "DeleteReadOnly" to permit deletion of read-only
files.  The default is 0.  Set to non-zero value to activate.
src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/cm_access.c
src/WINNT/afsd/cm_vnodeops.c