mirror of
https://github.com/samba-team/samba.git
synced 2025-02-15 05:57:49 +03:00
smbd: use fdos_mode() in copy_file()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
812e59c699
commit
96a882655b
@ -8557,7 +8557,7 @@ NTSTATUS copy_file(TALLOC_CTX *ctx,
|
||||
goto out;
|
||||
}
|
||||
|
||||
dosattrs = dos_mode(conn, smb_fname_src);
|
||||
dosattrs = fdos_mode(fsp1);
|
||||
|
||||
if (SMB_VFS_STAT(conn, smb_fname_dst_tmp) == -1) {
|
||||
ZERO_STRUCTP(&smb_fname_dst_tmp->st);
|
||||
|
Loading…
x
Reference in New Issue
Block a user