Lior Suliman has uploaded this change for review.

View Change

nfs4_op_open: Check permissions on upgrade re-open

Without the permission check here it means that if a client has an open
state on a file, it can just open any other open state without a
permission checks.

Specifically it means that if you have read permissions and open a file
for read, then while you have that open state, you can open the file for
write, even without having permissions.

Change-Id: I005d9dd3e484da812887551ac3f3b159a05db761
Signed-off-by: Lior Suliman <liorsu@gmail.com>
---
M src/Protocols/NFS/nfs4_op_open.c
1 file changed, 1 insertion(+), 1 deletion(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I005d9dd3e484da812887551ac3f3b159a05db761
Gerrit-Change-Number: 1201415
Gerrit-PatchSet: 1
Gerrit-Owner: Lior Suliman <liorsu@google.com>