Part 1 of bugfix for #8211 - "inherit owner = yes" doesn't interact correctly with...
authorJeremy Allison <jra@samba.org>
Wed, 8 Jun 2011 17:24:02 +0000 (10:24 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:59:02 +0000 (12:59 +0200)
commit5bf5324e6352bb8c68855e5fdbc9991ae71525b6
tree3e88bcf7fa4973282c1e2ba8505b50e3fa74659a
parent55d6c2be05655154851caaceb7eeffedf3a25558
Part 1 of bugfix for #8211 - "inherit owner = yes" doesn't interact correctly with "inherit permissions = yes" and POSIX ACLs

When changing ownership on a new directory make sure we
also change the returned stat struct to have the correct uid.
(cherry picked from commit f3900b0a96f98cc65d957cda5f92963f636d6ec1)
source3/smbd/open.c