Part 3 of bugfix for #8211 - "inherit owner = yes" doesn't interact correctly with...
commit2b24d7a92e5bfa171c7e776fcf15c5eec66d5427
authorJeremy Allison <jra@samba.org>
Tue, 7 Jun 2011 23:55:20 +0000 (7 16:55 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Jul 2011 19:43:57 +0000 (26 21:43 +0200)
treed70947e4fba21c5b6f4e69d2afa11383da30689d
parent568111cd4b831e649ab310af519344a3a95deb75
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.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Jun  8 03:07:04 CEST 2011 on sn-devel-104
(cherry picked from commit 5fb27814ad5566b264acf0f014d1721afc39b176)
(cherry picked from commit 1e0c7438074bf0e76d34ea5aac70d5f55d2b364a)
source3/smbd/open.c