Part 2 of bugfix for #8211 - "inherit owner = yes" doesn't interact correctly with...
authorJeremy Allison <jra@samba.org>
Wed, 8 Jun 2011 19:54:33 +0000 (12:54 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Jul 2011 19:43:54 +0000 (21:43 +0200)
commit568111cd4b831e649ab310af519344a3a95deb75
tree68872e6045ad246194204ae5a37831f45d842cb5
parentd46a3a24ce9305f7102887c3637feb3bdbd165d8
Part 2 of bugfix for #8211 - "inherit owner = yes" doesn't interact correctly with "inherit permissions = yes" and POSIX ACLs

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