diff options
author | Ralph Boehme <slow@samba.org> | 2017-10-16 18:05:51 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-11-08 00:20:08 +0100 |
commit | 7f62b16a12980b203e44a9e95d8e96d12f479453 (patch) | |
tree | 61405ad3e0e7010244e186e7d82cb6dd8aaca8d5 /selftest/knownfail | |
parent | 31a8fbff8d2e5bd27b44a0eb14608f8f43ce2a6b (diff) | |
download | samba-7f62b16a12980b203e44a9e95d8e96d12f479453.tar.gz |
vfs_nfs4acl_xattr: modernize ACL inheritance
This changes the way ACL inheritance is achieved in this
module.
Previously the module recursed to the next parent directory until the
share root was reached or a directory with an ACL xattr. If the share
root didn't contain an ACL xattr either a default ACL would be used.
This commit removed this recursive scanning and replaces it with the
same mechanism used by vfs_acl_xattr: by setting "inherit acls = yes"
just let smbd do the heavy lefting and inheritance.
For any file without ACL xattr we still synthesize a default ACL,
leveraging the existing default ACL function used by vfs_acl_xattr.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest/knownfail')
-rw-r--r-- | selftest/knownfail | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/selftest/knownfail b/selftest/knownfail index 258548ec858..030520f7e58 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -26,13 +26,11 @@ ^samba3.raw.acls nfs4acl_xattr-simple.create_owner_dir\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-simple.nulldacl\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-simple.generic\(nt4_dc\) -^samba3.raw.acls nfs4acl_xattr-simple.inheritance\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-special.INHERITFLAGS\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-special.create_owner_file\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-special.create_owner_dir\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-special.nulldacl\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-special.generic\(nt4_dc\) -^samba3.raw.acls nfs4acl_xattr-special.inheritance\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-special.inherit_creator_owner\(nt4_dc\) ^samba3.raw.acls nfs4acl_xattr-special.inherit_creator_group\(nt4_dc\) ^samba3.base.delete.deltest16a |