>From Frank Filz <ffilz...@mindspring.com>:

Frank Filz has uploaded a new change for review.

  https://review.gerrithub.io/297899

Change subject: FSAL_GLUSTER: Assure correct permission checking in open2
......................................................................

FSAL_GLUSTER: Assure correct permission checking in open2

If open2 is by object, not by name, open2 does no permission checking.

If open2 is by name and was a create, the gluster create call was made
with caller credentials and thus was permission checked. A NO_CREATE
call to just open the file was not permission checked, so assure that
the caller (open2_by_name) does a permission check.

A note is added to document that with a separate open call from the
create, there could be a permission failure in certain circumstances.

Change-Id: I7c962ed8e541b24d2071f53958f0a2c15b1f4fef
Signed-off-by: Frank S. Filz <ffilz...@mindspring.com>
---
M src/FSAL/FSAL_GLUSTER/handle.c
1 file changed, 20 insertions(+), 6 deletions(-)


  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/99/297899/1
-- 
To view, visit https://review.gerrithub.io/297899
To unsubscribe, visit https://review.gerrithub.io/settings

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to