git.samba.org
/
ddiss
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Only add the SD if it's not a new stream file.
[ddiss/samba.git]
/
source3
/
smbd
/
open.c
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index 8be5e852702db13e29bb93e604fb8dff06293af6..936c27e64d99b2096e62306f995dd269caf75865 100644
(file)
--- 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;