vfs_gpfs: Do not map DELETE sharemode access to WRITE
authorChristof Schmitt <cs@samba.org>
Wed, 23 Aug 2017 17:33:42 +0000 (10:33 -0700)
committerRalph Boehme <slow@samba.org>
Mon, 4 Sep 2017 08:09:23 +0000 (10:09 +0200)
commit19004113f3c1a16dc7bfda60402623efd115265a
tree5244d74974120f1b17c549a21b334aeb2e6ab036
parentdccd9630fb6d82cbf79374c75cd305987c9c9eb8
vfs_gpfs: Do not map DELETE sharemode access to WRITE

A SMB client can deny the WRITE sharemode, but still grant the DELETE
sharemode. Mapping the requested DELETE access to WRITE access breaks
this case. Fix this by removing the incorrect mapping from DELETE access
to WRITE access.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_gpfs.c