Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with vfs_acl_xattr...
authorJeremy Allison <jra@samba.org>
Tue, 19 Apr 2011 20:25:43 +0000 (13:25 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:58:43 +0000 (12:58 +0200)
commit8a6faa19b623144e4d6fe08c41ba333cc5a48bc8
tree4e18cdd864f1cb6b2879204c50f1078a83a35c90
parenta6157b3bbcab13f687d62d21e268a65c9fdc2bde
Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with vfs_acl_xattr or vfs_acl_tdb module.

If "inherit owner = yes", pass in the directory owner and group
owner as the target for CREATOR_OWNER and CREATOR_GROUP substitutions,
and also as the owner and primary group of the new security descriptor
being applied to the object.

Jeremy.
(cherry picked from commit ea331419108ed8575e33394f989240abeede2671)
source3/modules/vfs_acl_common.c