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>
Mon, 30 May 2011 18:00:29 +0000 (20:00 +0200)
commitea331419108ed8575e33394f989240abeede2671
treeffd0bc48794e53ae6641ac29d3ea347e25df3601
parentc718b7d43bc5616f7f5e110afdf5332a62e04cb8
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.
source3/modules/vfs_acl_common.c