1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00
Anoop C S 3b230769b0 s4/torture: Create test_dir with SEC_RIGHTS_DIR_ALL
In shares where acl_xattr vfs module is loaded with 'ignore system acls'
set, smb2.delete-on-close-perms.FIND_and_set_DOC fails to open test_dir
due to NT_STATUS_ACCESS_DENIED as it lacks few permissions for owner
when created using create_dir(). Test case aims to set delete-on-close
for which delete permission is necessary in first place. Therefore we
now perform the creation and subsequent opening of directory using
torture_smb2_testdir() so that the open handle comes with SEC_STD_DELETE
permission.

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2024-06-10 12:16:32 +00:00
..
2023-08-14 21:45:29 +00:00
2023-08-14 21:45:30 +00:00
2023-08-14 21:45:30 +00:00
2023-08-14 21:45:30 +00:00
2023-09-11 02:42:41 +00:00
2023-10-25 22:23:38 +00:00
2023-08-14 21:45:30 +00:00
2021-06-16 00:34:38 +00:00