How to edit sharing:CreateMask in El Capitan Server

The sharing:CreateMask setting in El Capitan server is set to 644. I need it set to 664 and creating a nsmb.conf file with that setting doesn't work.


How do I change this setting. It also appears to be per share point as well.


Thanks.

Mac mini, OS X El Capitan (10.11.6), Server

Posted on Aug 20, 2016 2:51 PM

Reply
1 reply

Aug 24, 2016 7:31 PM in response to xcalybur

I am going to suggest overriding the umask on the client machines. Apple has a published article on this here Setting a custom umask in OS X - Apple Support


Basically you want to run this command:


sudo launchctl config user umask 002


The command above will set the octal permissions to 664 for files and 775 for folders. This grants read and write to both the owner and the group of each file and folder created after the command was issues and the machine rebooted.


Permissions on existing files are not altered.


The command creates or edits /var/db/com.apple.xpc.launchd/config/user.plist. Removing the file and rebooting the machine will revert the user permissions to a umask of 022.


Reid

Apple Consultants Network

Author - "El Capitan Server – Foundation Services"

Author - "El Capitan Server – Control & Collaboration"

Author - "El Capitan Server – Advanced Services"

:: Exclusively available in Apple's iBooks Store

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to edit sharing:CreateMask in El Capitan Server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.