Sachin Punadikar has uploaded this change for review.

View Change

CEPH: Use proper mode while creating files

If the parent directory has POSIX ACLs set, then while creating files
inside this parent directory the mode should be 0666. Restrictive mode
like 0644, which is used by Ganesha by default, leads to clipping the
mask value to "r--" and suppresses write for named users/groups.
Effectively on NFS client side one observes "write" permissions are
wiped off.

Change-Id: I97ed27aeba68dd288a9effaf79027faa265106b2
Signed-off-by: Sachin Punadikar <sachin.punadikar@ibm.com>
---
M src/FSAL/FSAL_CEPH/handle.c
1 file changed, 21 insertions(+), 0 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I97ed27aeba68dd288a9effaf79027faa265106b2
Gerrit-Change-Number: 1255691
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar@ibm.com>