[bug] Windows-to-Linux remote mount is allowing directory rename when directory is not empty #47
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
parent
f61f3d5fa4
commit
2362300bba
@ -1461,7 +1461,7 @@ auto remote_server::winfsp_rename(PVOID /*file_desc*/, PWSTR file_name,
|
||||
utils::unix_error_to_windows(errno))
|
||||
: 0);
|
||||
} else {
|
||||
ret = static_cast<packet::error_type>(STATUS_DIRECTORY_NOT_EMPTY);
|
||||
ret = static_cast<packet::error_type>(STATUS_ACCESS_DENIED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user