dll: FspAccessCheckEx: fix #190

This commit is contained in:
Bill Zissimopoulos 2018-10-19 21:53:44 -07:00
parent a292cd4d73
commit 1bebbcf634
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -349,7 +349,7 @@ FSP_API NTSTATUS FspAccessCheckEx(FSP_FILE_SYSTEM *FileSystem,
}
if (FILE_ATTRIBUTE_READONLY == (FileAttributes & FILE_ATTRIBUTE_READONLY) &&
Request->Req.Create.CreateOptions & FILE_DELETE_ON_CLOSE)
(Request->Req.Create.CreateOptions & FILE_DELETE_ON_CLOSE))
{
Result = STATUS_CANNOT_DELETE;
goto exit;