mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +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>
This commit is contained in:
parent
89a7394d67
commit
1d7bef5a75
@ -3404,6 +3404,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…
Reference in New Issue
Block a user