The following commit has been merged in the master branch:
commit 70299e6c3def0b84520232c02b9071c9cbf8a851
Author: Jeffrey Altman <[email protected]>
Date: Tue Apr 15 12:19:21 2014 -0400
Windows: Fix AFSSetBasicInfo attribute processing
The prior behavior of AFSSetBasicInfo() was to let the caller
set whatever it wanted as the new file attributes regardless of
the attributes that are supported by AFS. In doing so, reparse
point and directory attributes could be cleared, and other values
could be set even though they would be lost as soon as the
DirectoryCB object was garbage collected.
New behavior:
1. return STATUS_INVALID_PARAMETER if reparse point attribute
would be altered
2. return STATUS_INVALID_PARAMETER if directory attribute would
be altered.
3. successfully modify readonly attribute
4. ignore all other attribute values
Change-Id: Ic678960101ef99cdad0c0e84b21c9d65c6831ca8
Reviewed-on: http://gerrit.openafs.org/11073
Tested-by: BuildBot <[email protected]>
Reviewed-by: Rod Widdowson <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp | 102 +++++++++++++++++++----
src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h | 3 +-
2 files changed, 87 insertions(+), 18 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs