9 Apr
2019
9 Apr
'19
2:41 p.m.
Zhiyi Zhang <zzhang(a)codeweavers.com> wrote:
And then we also need to check if the replaced file has readonly attributes now that GENERIC_WRITE is gone. It seems fine to add a check in kernel32, otherwise we need add an extra server call to rename files and checking the attribute in wineserver.
I'd guess that NtOpenFile(DELETE) should fail for read-only files making this check on client side redundant. -- Dmitry.