diff options
author | Jeremy Allison <jra@samba.org> | 2011-11-22 10:37:56 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-11-22 10:37:56 -0800 |
commit | 7b275c551ba3caee9e020740a672f8dd447769ff (patch) | |
tree | a5f4751ca2299d8c2c587e5af7143c8b2244a3a8 /source3/smbd | |
parent | 12514bf008044f836e62b46b8fea1ef3117d7632 (diff) | |
download | samba-7b275c551ba3caee9e020740a672f8dd447769ff.tar.gz samba-7b275c551ba3caee9e020740a672f8dd447769ff.tar.bz2 samba-7b275c551ba3caee9e020740a672f8dd447769ff.zip |
Only add the SD if it's not a new stream file.
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 8be5e85270..936c27e64d 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; |