Frank Filz has uploaded this change for review.

View Change

SETATTR: FSALs were asking for FSAL_O_RDWR when truncating with a stateid

We only need FSAL_O_WRITE when we have a stateid.

Failing this, we opened the global fd and that then prevented local fs
execution of a binary that had been copied.

Change-Id: Ic476ddf529ba0c45c4d83a4150b4181166a3330a
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/FSAL/FSAL_CEPH/handle.c
M src/FSAL/FSAL_GLUSTER/handle.c
M src/FSAL/FSAL_LIZARDFS/handle.c
M src/FSAL/FSAL_RGW/handle.c
M src/FSAL/FSAL_VFS/file.c
5 files changed, 20 insertions(+), 5 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/17/545617/1

To view, visit change 545617. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ic476ddf529ba0c45c4d83a4150b4181166a3330a
Gerrit-Change-Number: 545617
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange