diff options
-rw-r--r-- | python/samba/tests/posixacl.py | 2 | ||||
-rwxr-xr-x | selftest/target/Samba3.pm | 3 | ||||
-rw-r--r-- | selftest/target/Samba4.pm | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/python/samba/tests/posixacl.py b/python/samba/tests/posixacl.py index 7cd22ebccd..f3a4772e30 100644 --- a/python/samba/tests/posixacl.py +++ b/python/samba/tests/posixacl.py @@ -227,7 +227,7 @@ class PosixAclMappingTests(TestCaseInTempDir): smbd.chown(self.tempdir, BA_id, SO_id) smbd.set_simple_acl(self.tempdir, 0750) facl = getntacl(self.lp, self.tempdir, direct_db_access=False) - acl = "O:BAG:SOD:(A;;0x001f01ff;;;BA)(A;;0x001200a9;;;SO)(A;;;;;WD)(A;OICIIO;0x001f01ff;;;CO)(A;OICIIO;0x001f01ff;;;CG)(A;OICIIO;0x001f01ff;;;WD)" + acl = "O:BAG:SOD:(A;;0x001f01ff;;;BA)(A;;0x001200a9;;;SO)(A;;;;;WD)(A;OICIIO;0x001f01ff;;;CO)(A;OICIIO;0x001200a9;;;CG)(A;OICIIO;0x001200a9;;;WD)" anysid = security.dom_sid(security.SID_NT_SELF) self.assertEquals(acl, facl.as_sddl(anysid)) diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 8d9c4b9310..72c111609f 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -986,8 +986,7 @@ sub provision($$$$$$) map system = no map readonly = no store dos attributes = yes - create mask = 0777 - directory mask = 0777 + create mask = 755 dos filemode = yes vfs objects = $vfs_modulesdir_abs/acl_xattr.so $vfs_modulesdir_abs/fake_acls.so $vfs_modulesdir_abs/xattr_tdb.so $vfs_modulesdir_abs/streams_depot.so diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 6f694143dd..495cc23d5c 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -1399,8 +1399,7 @@ sub provision_plugin_s4_dc($$) smbd:sharedelay = 100000 smbd:writetimeupdatedelay = 500000 - create mask = 0777 - directory mask = 0777 + create mask = 755 dos filemode = yes dcerpc endpoint servers = -winreg -srvsvc |