mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
vfs_fruit: enable POSIX directory rename semantics
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11065 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 1d7bef5a75403f5baec13aa6264dfe763a4b278a)
This commit is contained in:
parent
dfbf293cd7
commit
685ad2d373
@ -3356,6 +3356,13 @@ static NTSTATUS fruit_create_file(vfs_handle_struct *handle,
|
||||
*/
|
||||
fsp->aapl_copyfile_supported = true;
|
||||
}
|
||||
|
||||
if (fsp->is_directory) {
|
||||
/*
|
||||
* Enable POSIX directory rename behaviour
|
||||
*/
|
||||
fsp->posix_flags |= FSP_POSIX_FLAGS_RENAME;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user