[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

This commit is contained in:
Scott E. Graves 2025-04-15 09:35:08 -05:00
parent f61f3d5fa4
commit 2362300bba

View File

@ -1461,7 +1461,7 @@ auto remote_server::winfsp_rename(PVOID /*file_desc*/, PWSTR file_name,
utils::unix_error_to_windows(errno)) utils::unix_error_to_windows(errno))
: 0); : 0);
} else { } else {
ret = static_cast<packet::error_type>(STATUS_DIRECTORY_NOT_EMPTY); ret = static_cast<packet::error_type>(STATUS_ACCESS_DENIED);
} }
} }
} }