mirror of
https://github.com/winfsp/winfsp.git
synced 2025-11-08 15:08:38 -06: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