vfs_ceph: explicitly enable libcephfs POSIX ACL support
authorDavid Disseldorp <ddiss@samba.org>
Fri, 12 Apr 2019 11:52:43 +0000 (13:52 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 12 Apr 2019 18:38:20 +0000 (18:38 +0000)
commit4982e282f2f2246952854ccc10d4787ac6653a7f
treeda2a12180c93f1982340bfd52c1f686122f5a4f9
parent2b5dbb352553699afce62dca4964eb0bd64477f8
vfs_ceph: explicitly enable libcephfs POSIX ACL support

libcephfs disables ACL support by default and returns -EOPNOTSUPP in the
POSIX ACL get/setxattr paths as a result. Enable support by setting the
following Ceph config parameters during mount:
        client acl type = posix_acl
        fuse default permissions = false

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_ceph.c