Assaf Yaari has uploaded this change for review.

View Change

commonlib: Place OWNER & GROUP mode generated aces at the beginning

Place the OWNER@ & GROUP@ generated aces from the mode bits at the
beginning in order to ensure that the mode-bits are taking effect so
exsiting ace with principal that happens to be the owner won't override
it. The ratio is that if the user does 'chmod', they won't be confused
by such existing ace.
Still the EVERYONE@ generated aces are placed at the end, otherwise it
will mask any other existing ace.

Signed-off-by: Assaf Yaari <assafy@google.com>
Change-Id: Ief1c0d6d07a3d76ca03d67a965272776df5cddcb
---
M src/FSAL/commonlib.c
1 file changed, 9 insertions(+), 7 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ief1c0d6d07a3d76ca03d67a965272776df5cddcb
Gerrit-Change-Number: 1190155
Gerrit-PatchSet: 1
Gerrit-Owner: Assaf Yaari <assafy@google.com>