Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with vfs_acl_xattr...
commit182eea9ae26804d7f4eedcfa09eef0342ec3db5a
authorJeremy Allison <jra@samba.org>
Thu, 14 Apr 2011 20:20:08 +0000 (14 13:20 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 14 Apr 2011 20:20:08 +0000 (14 13:20 -0700)
tree80e1af1c223b21af0313006e3f42845da72099b3
parent9c2ba9436d1abe66c493a512702101f631946cdf
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