Revert "Ensure the masks don't conflict with the ACL checks."
authorAndrew Bartlett <abartlet@samba.org>
Sun, 10 Mar 2013 09:25:53 +0000 (20:25 +1100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 19 Mar 2013 08:37:52 +0000 (09:37 +0100)
commitee3ac648598f7de27dea565381faebb313dba471
tree1fef5f39dd888f8a83780b869d8c0a09fc4b22dd
parentfc19aafa6e3e1dd1bed121c1527c52519614429f
Revert "Ensure the masks don't conflict with the ACL checks."

This reverts commit 78594909b8b22bd07978922b1c85dfd6f6456963 which was
needed by 7622aa16adeb00bf161a6dd07664c37125391272.

This change masked bug #9462 which was fixed by
2013bb9b4dbed747921df2591068e2765428f57d.  The issue was that the
defaults for the substituted parameters did not match the old
parameter.  Changing the values in our test suite hid the issue, but
did not fix the issue.

(Additional change in the revert is to correct the expected ACL value
in posixacl.py due to changed implied inherited permissions).

Andrew Bartlett

Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Mar 11 19:46:24 CET 2013 on sn-devel-104
(cherry picked from commit 58e385a5ac37c072a4eef3baa7926b799a732e94)

The last 3 patches address bug #Bug 9709 - CVE-2013-1863; Remove forced set of
'create mask' to 0777.

CVE-2013-1863: World-writeable files may be created in additional shares on a
Samba 4.0 AD DC.
selftest/target/Samba3.pm
selftest/target/Samba4.pm
source4/scripting/python/samba/tests/posixacl.py