s3/vfs: move ACE4_ADD_FILE/ACE4_DELETE_CHILD mapping from NFSv4 framework to vfs_zfsacl
authorRalph Boehme <slow@samba.org>
Wed, 6 Sep 2017 14:56:47 +0000 (16:56 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 9 Sep 2017 02:59:51 +0000 (04:59 +0200)
commit4102697503691f3b2eadfcb98834bb66c669f3ab
tree058d1785889f9e8c384ec1099691da121cca5029
parentbdc7fc62011cb1744f0246aea358b93e98caef38
s3/vfs: move ACE4_ADD_FILE/ACE4_DELETE_CHILD mapping from NFSv4 framework to vfs_zfsacl

This was added in e6a5f11865a55e9644292ae92e4a4b5ec0662ccd to adopt the
NFSv4 framework to follow ZFS permission rules. But this is the wrong
place, other filesystems like GPFS do not allow deletion when the user
has SEC_DIR_ADD_FILE.

This patch therefor moves the change from the NFS4 framework into the
ZFS module.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=6133

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep  9 04:59:51 CEST 2017 on sn-devel-144
source3/modules/nfs4_acls.c
source3/modules/vfs_zfsacl.c