Hopefullt final fix for 6802 - acl_xattr.c module: A created folder does not properly...
commitaab1e424db3134db2d78553d51859dc79d1a8831
authorJeremy Allison <jra@samba.org>
Mon, 7 Dec 2009 22:36:12 +0000 (7 14:36 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 7 Dec 2009 22:39:42 +0000 (7 14:39 -0800)
tree73977e462f0296b41854fae6e108a922bb1a17a3
parent1a17c8ffe0f17138e45b57a82d5b4a3c73628bca
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)
source3/modules/vfs_acl_common.c
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_acl_xattr.c