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