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 07:48:18 +0000 (09:48 +0200)
commit83cc536a42003bf2df0a5a121b07df33c1ffd96a
treeb890de8b73a9c4ce0cb7d0364d0c70a2469a2762
parentb708ce3f1ac863dea8051b51b717bced2a433546
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]