Part 3 of bugfix for #8211 - "inherit owner = yes" doesn't interact correctly with...
authorJeremy Allison <jra@samba.org>
Tue, 7 Jun 2011 23:55:20 +0000 (16:55 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 8 Jun 2011 01:07:04 +0000 (03:07 +0200)
commit5fb27814ad5566b264acf0f014d1721afc39b176
tree7f70ac7049119a824d2d8180bb45e96ea1a69ddd
parent40c54a736dff751dcdc66d6cd5c5d2307aeda75c
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
source3/smbd/open.c