git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f47497
)
Ensure we Correctly set fsp->is_directory before dealing with ACLs.
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 13 Nov 2012 20:21:45 +0000
(12:21 -0800)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 13 Nov 2012 21:48:19 +0000
(22:48 +0100)
Reviewed by: Jeremy Allison <jra@samba.org>
source3/torture/cmd_vfs.c
patch
|
blob
|
history
diff --git
a/source3/torture/cmd_vfs.c
b/source3/torture/cmd_vfs.c
index a37c9fc7a7b95791d9b745607d4c950576c3a958..64b1b50211e53ef47f0056948761040939e7d8e0 100644
(file)
--- a/
source3/torture/cmd_vfs.c
+++ b/
source3/torture/cmd_vfs.c
@@
-1524,7
+1524,7
@@
static NTSTATUS cmd_set_nt_acl(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int a
fsp->print_file = NULL;
fsp->modified = False;
fsp->sent_oplock_break = NO_BREAK_SENT;
- fsp->is_directory =
False
;
+ fsp->is_directory =
S_ISDIR(smb_fname->st.st_ex_mode)
;
sd = sddl_decode(talloc_tos(), argv[2], get_global_sam_sid());