Hopefullt final fix for 6802 - acl_xattr.c module: A created folder does not properly...
commit5f3724d3a83b44d3d568997e363aa81593c9de37
authorJeremy Allison <jra@samba.org>
Mon, 7 Dec 2009 22:36:12 +0000 (7 14:36 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 8 Dec 2009 08:15:42 +0000 (8 09:15 +0100)
treef0d2301a92688b35d43af88ba017172fc440d9d4
parent850b3755654efeef9f32c6415c4c176d88cd7a9a
Hopefullt final fix for 6802 - acl_xattr.c module: A created folder does not properly inherit permissions from parent and 6938 - No hook exists to check creation rights when using acl_xattr module

Volker was right (dammit :-). It's much easier to catch
this case in the create_file() vfs call instead of trying
to do everything inside open() and mkdir(). Hook all these
functions to gain the desired effect.
Jeremy.
(cherry picked from commit 12bac42a93cd6afd3cd29460b97bbd61852a9d44)
(cherry picked from commit aab1e424db3134db2d78553d51859dc79d1a8831)
source3/modules/vfs_acl_common.c
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_acl_xattr.c