summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 87cab1966b..62a0fa73b7 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -3278,6 +3278,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
}
if ((fsp->fh != NULL) && (fsp->fh->fd != -1)) {
SMB_VFS_FSTAT(fsp, &smb_fname->st);
+ fsp->fsp_name->st = smb_fname->st;
}
return NT_STATUS_OK;