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

Frank Filz has uploaded a new change for review.

  https://review.gerrithub.io/298001

Change subject: If an exclusive create is replayed, only check owner of file
......................................................................

If an exclusive create is replayed, only check owner of file

If an exclusive create is replayed, for example, as a result of the
following system call:

    open("foo", O_RDWR | O_CREAT | O_EXCL, 0);

The normal permission check on replay would fail (NFS v4.1 only since
it requires setting mode on the create).

By skipping permission check if the caller is the owner, we nicely
do the right thing. Allow the replay to succeed because the caller
is the owner (and will have the right verifier).

Change-Id: Id5e9895c0fa672b24cb101cce0ffcb62d37b9729
Signed-off-by: Frank S. Filz <ffilz...@mindspring.com>
---
M src/FSAL/fsal_helper.c
1 file changed, 26 insertions(+), 4 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5e9895c0fa672b24cb101cce0ffcb62d37b9729
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