mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-04 01:42:58 -05:00
sys: POSIX rename improvements
This commit is contained in:
@ -1691,6 +1691,12 @@ retry:
|
||||
FspFsvolDeviceFileRenameAcquireExclusive(FsvolDeviceObject);
|
||||
FspFileNodeAcquireExclusive(FileNode, Full);
|
||||
|
||||
if (FileNode->PosixDelete)
|
||||
{
|
||||
Result = STATUS_ACCESS_DENIED;
|
||||
goto unlock_exit;
|
||||
}
|
||||
|
||||
if (0 == Request)
|
||||
{
|
||||
if (0 != TargetFileNode)
|
||||
|
Reference in New Issue
Block a user