From 7b275c551ba3caee9e020740a672f8dd447769ff Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 22 Nov 2011 10:37:56 -0800 Subject: [PATCH] Only add the SD if it's not a new stream file. --- source3/smbd/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 8be5e852702..936c27e64d9 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3469,7 +3469,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, */ if ((sd != NULL) && (info == FILE_WAS_CREATED) - && lp_nt_acl_support(SNUM(conn))) { + && lp_nt_acl_support(SNUM(conn)) && fsp->base_fsp == NULL) { uint32_t sec_info_sent; uint32_t saved_access_mask = fsp->access_mask; -- 2.11.4.GIT