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>
Mon, 8 Apr 2019 10:27:34 +0000 (10:27 +0000)
commit0c8ad9c9dbeac1ad0ca3553a19d7bbf652bb650d
tree8e58aaf87967d8c1ca6517734802e40477d8d872
parent6048103751afa33f1951539ce36224a03b276604
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]