]> git.ipfire.org Git - thirdparty/samba.git/commit
s4/torture: Remove already existing test_dir
authorAnoop C S <anoopcs@samba.org>
Wed, 29 May 2024 13:22:10 +0000 (18:52 +0530)
committerRalph Boehme <slow@samba.org>
Mon, 10 Jun 2024 13:17:58 +0000 (13:17 +0000)
commit225e6aeafc78d0508881915b8406273c15966e63
tree9d568addb394e8f3a034d113ec5f03c2e54c25be
parent3b230769b02e7c9ecbe7eac05e0344b233b3ae39
s4/torture: Remove already existing test_dir

In configurations where vfs_acl_xattr is used with 'ignore system acls'
option we encounter NT_STATUS_ACCESS_DENIED while trying to open an
already existing test_dir in smb2.delete-on-close-perms.READONLY. Due
to missing SEC_STD_DELETE permission from the list of allowed ACEs it
couldn't be removed via previous call to smb2_deltree(). Thus as seen
with other tests we now call set_dir_delete_perms() so that subsequent
attempt to remove it can succeed.

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Jun 10 13:17:58 UTC 2024 on atb-devel-224
source4/torture/smb2/delete-on-close.c