removing readonly file opened for write check
it causes ifstest problems
This commit is contained in:
parent
49580a8cfe
commit
19715faf2b
1 changed files with 1 additions and 3 deletions
|
|
@ -3422,9 +3422,7 @@ NTSTATUS check_nfs41_create_args(
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((pVNetRootContext->read_only ||
|
if (pVNetRootContext->read_only &&
|
||||||
((params.FileAttributes & FILE_ATTRIBUTE_READONLY) &&
|
|
||||||
params.Disposition == FILE_OPEN)) &&
|
|
||||||
(params.DesiredAccess & (FILE_WRITE_DATA | FILE_APPEND_DATA))) {
|
(params.DesiredAccess & (FILE_WRITE_DATA | FILE_APPEND_DATA))) {
|
||||||
status = STATUS_ACCESS_DENIED;
|
status = STATUS_ACCESS_DENIED;
|
||||||
goto out;
|
goto out;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue