]> git.ipfire.org Git - thirdparty/samba.git/commit
selftest: tests for change ownership on a file
authorRalph Boehme <slow@samba.org>
Fri, 6 Oct 2017 13:31:20 +0000 (15:31 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:00 +0000 (08:43 +0200)
commit839830ff7bbb4c4d7f8078622fb6c32fb319527a
tree26e7e113f0b3239eb1753bf192c2e4479bfaac9d
parent49e080c32e085020c04a47eda3d6537359f5e081
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>
(backported from commit 4b2e171e6b90f9c3594ebb705a28c66b981c2bf5)
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