Need to remove SEC_STD_DELETE from the access mask, otherwise we can't move
files into this directory.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15861
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
torture_comment(torture, "Testing change notify of a rename with inotify\n");
- status = torture_smb2_testdir(tree1, BASEDIR_INR, &h1);
+ status = torture_smb2_testdir_access(
+ tree1,
+ BASEDIR_INR,
+ &h1,
+ SEC_RIGHTS_DIR_ALL & ~SEC_STD_DELETE);
torture_assert_ntstatus_ok_goto(torture, status, ok, done, "torture_smb2_testdir failed");
ZERO_STRUCT(create);