Part 3 of bugfix for #8211 - "inherit owner = yes" doesn't interact correctly with...
authorJeremy Allison <jra@samba.org>
Wed, 8 Jun 2011 17:25:33 +0000 (10:25 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 10 Jun 2011 19:09:12 +0000 (21:09 +0200)
commitd18d6df840d3a47fa1d7b877e07f804f025811ee
tree5e9b6d2b5c13778729b6b1a208561318c0192d90
parent59e77811b7774ad76e082ee9fd840a277df75c4c
Part 3 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
must have a valid stat struct before making the inheritance
calls (as they may look at it), and if we make changes we
must have a valid stat struct after them.
source3/smbd/open.c