Fix re-opened bug 8083 - "inherit owner = yes" doesn't interact correctly with vfs_ac...
authorJeremy Allison <jra@samba.org>
Tue, 7 Jun 2011 19:36:24 +0000 (12:36 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:59:18 +0000 (12:59 +0200)
commitaa1fbfa3056dc59262603d7bca73307643b916be
tree34ada82ed5aad59a64698c33b0c79f1830ba3b9a
parentee677cf7f807716d3169fe7ce9aea66ac887fd23
Fix re-opened bug 8083 - "inherit owner = yes" doesn't interact correctly with vfs_acl_xattr or vfs_acl_tdb module.

Fix incorrect interaction when all of

"inherit permissions = yes"
"inherit acls = yes"
"inherit owner = yes"

are set. Found by Björn Jacke. Thanks Björn !
(cherry picked from commit b5011e4c2cee39d4334c04ce7c8adc43a8ca7e6b)
source3/modules/vfs_acl_common.c