git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
12514bf
)
Only add the SD if it's not a new stream file.
author
Jeremy Allison
<jra@samba.org>
Tue, 22 Nov 2011 18:37:56 +0000
(10:37 -0800)
committer
Jeremy Allison
<jra@samba.org>
Tue, 22 Nov 2011 18:37:56 +0000
(10:37 -0800)
source3/smbd/open.c
patch
|
blob
|
history
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)
*/
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;
uint32_t sec_info_sent;
uint32_t saved_access_mask = fsp->access_mask;