4h8qdp6jx9@privaterelay.appleid.com has uploaded this change for review.

View Change

EXPORT: Samba-style create and directory masks and forced modes

Create_Mask, Force_Create_Mode, Directory_Mask and Force_Directory_Mode
work as in Samba: the mask first, then the forced bits are OR'd in.

While an export masks or forces a mode, SETATTR of the mode can change
only the execute bits; the other bits keep their values. Otherwise macOS
Finder resets the mode with a SETATTR after copying a file.

CONF_ITEM_MODE now accepts 07777, which also widens the FSAL umask
options.

Change-Id: I3840e6edb0f7d4383393fc4ba14976736ce1253e
Signed-off-by: Evan Champion <4h8qdp6jx9@privaterelay.appleid.com>
---
M src/FSAL/fsal_helper.c
M src/config_samples/export.txt
M src/doc/man/ganesha-export-config.rst
M src/include/config_parsing.h
M src/include/export_mgr.h
M src/support/exports.c
6 files changed, 190 insertions(+), 1 deletion(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I3840e6edb0f7d4383393fc4ba14976736ce1253e
Gerrit-Change-Number: 1255472
Gerrit-PatchSet: 1
Gerrit-Owner: 4h8qdp6jx9@privaterelay.appleid.com