selftest: tests for change ownership on a file
authorRalph Boehme <slow@samba.org>
Fri, 6 Oct 2017 13:31:20 +0000 (15:31 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 9 Oct 2017 21:01:18 +0000 (23:01 +0200)
commit4b2e171e6b90f9c3594ebb705a28c66b981c2bf5
tree35779a97bc768ac9ecf6b5dc03dc12267b0cd6f6
parentff199d8e3ea7bd1ed12de8c39340ba640a2b83ca
selftest: tests for change ownership on a file

This test verifies that SEC_STD_WRITE_OWNER only effectively grants
take-ownership permissions but NOT give-ownership. The latter requires
SeRestorePrivilege privilege.

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>
selftest/knownfail.d/samba3.blackbox.give_owner [new file with mode: 0644]
source3/script/tests/test_give_owner.sh [new file with mode: 0755]
source3/selftest/tests.py