CVE-2019-3870 tests: Add test to check file-permissions are correct after provision
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 15 Mar 2019 00:52:50 +0000 (13:52 +1300)
committerKarolin Seeger <kseeger@samba.org>
Fri, 5 Apr 2019 08:14:36 +0000 (10:14 +0200)
commit0b712415db68dd5f0a082c036ba051f2b857aa2a
treeecb1f0d76a295d009a2dad4da52c2bc2b94973af
parentc25ee5bd463d2d433a1b0a868e5d63e3490bc7fd
CVE-2019-3870 tests: Add test to check file-permissions are correct after provision

This provisions a new DC and checks there are no world-writable
files in the new DC's private directory.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13834

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/provision_fileperms [new file with mode: 0644]
source4/selftest/tests.py
source4/setup/tests/provision_fileperms.sh [new file with mode: 0755]