Sachin Punadikar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1230067?usp=email ) Change subject: Set proper mode for file/directory at creation time ...................................................................... Set proper mode for file/directory at creation time Files created without an explicit mode defaulted to 0600 (owner-only) and directories to 0700. This kind of strict mode breaks tools like git, where it creates temporary files and reads back. When git creates temporary files (like tmp_pack_24gqju), it writes to them, closes them, and then reopens them for reading. With mode 0600, the file was too restrictive for this workflow. Change-Id: I22c37a45f2a4f2080581100466bc86f5a1245b03 Signed-off-by: Sachin Punadikar <sachin.punadikar@ibm.com> --- M src/Protocols/NFS/nfs3_create.c M src/Protocols/NFS/nfs4_op_create.c M src/Protocols/NFS/nfs4_op_open.c 3 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/67/1230067/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1230067?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I22c37a45f2a4f2080581100466bc86f5a1245b03 Gerrit-Change-Number: 1230067 Gerrit-PatchSet: 1 Gerrit-Owner: Sachin Punadikar <sachin.punadikar@ibm.com>