tests/ntacls: unblock failing gitlab pipelines because test_setntacl_forcenative
commit237d9d0228cfed6d2e08b41b888d30aac5ab89e3
authorStefan Metzmacher <metze@samba.org>
Wed, 8 May 2024 16:03:54 +0000 (8 18:03 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 May 2024 00:26:35 +0000 (10 00:26 +0000)
tree83b316f27d3b3de04afa36bd5160682d51ed2074
parent380d9c5a7392741ff2134ef1e83df45a29293db3
tests/ntacls: unblock failing gitlab pipelines because test_setntacl_forcenative

This expects PermissionError: [Errno 1] Operation not permitted,
but it seems that setxattr() for security.NTACL works on gitlab
runners without being root.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/ntacls.py
selftest/flapping.d/gitlab-setxattr-security [new file with mode: 0644]