[PATCHES] Two patches for gpfs sharemodes

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Aug 24 11:46:36 UTC 2017


On Wed, Aug 23, 2017 at 01:40:54PM -0700, Christof Schmitt via samba-technical wrote:
> From 9474f1b1865636c7cc53a302b3225e3197f154c1 Mon Sep 17 00:00:00 2001
> From: Christof Schmitt <cs at samba.org>
> Date: Wed, 23 Aug 2017 10:33:42 -0700
> Subject: [PATCH 1/2] 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.

Isn't the problem with GPFS_DENY_DELETE that it is mapped to a
combination of other flags internally? The last time we discussed this
GPFS_DENY_DELETE was not an independent bit in GPFS. This goes along
with Ralph's question about the precise semantics. Can we get someone
from the GPFS team to describe exactly what's going on internally?

Thanks, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list