selftest: fix acl_xattr test: changing owner
authorRalph Boehme <slow@samba.org>
Sun, 8 Oct 2017 09:12:48 +0000 (11:12 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 9 Oct 2017 21:01:17 +0000 (23:01 +0200)
commit0f8de2dee5451c9791f96050f85e4f007bec2819
tree4bdeaafea309b9db4acbd48ba55471ae79f0c0dc
parent272f1c9febdf51dd6ec7b862d33d2010621e840a
selftest: fix acl_xattr test: changing owner

Don't give ownership to user "force_user" as user "$USERNAME", this
would fail with NT_STATUS_INVALID_OWNER, instead just take ownership as
user "force_user". Adding a corresponding ACE for "force_user" with FULL
rights ensures this works.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=7933

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/script/tests/test_acl_xattr.sh