vfs_nfs4acl_xattr: fix setting of permissions via NFS
authorBjoern Jacke <bjacke@samba.org>
Fri, 28 Jun 2019 14:36:43 +0000 (16:36 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 4 Jul 2019 14:03:29 +0000 (14:03 +0000)
commit173923c41aee6533532024ece8cd0fb62b06d316
tree69f4bef333cee6944b4a6d9ec7b20c173694d904
parent8bae5d82e2a101d37f5572e1d174b37816576840
vfs_nfs4acl_xattr: fix setting of permissions via NFS

via NFS root may not be priviledged user, so we should not call become_root()
here. The normal NFS4 permissions already handle permission modify right, no
need to do more magic things for Samba here.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_nfs4acl_xattr.c