diff options
-rw-r--r-- | source3/torture/cmd_vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c index a37c9fc7a7..64b1b50211 100644 --- 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()); |