Umask doesn't change after reboot I'm new to umask so please correct me if i'm wrong.

We have a mac OS X file server at work with multiple SMB shares. Whenever users create files, they get created as -rw-r--r-- as this is the default umask (022). I want to change it to (002) so created files will have -rw-rw---- as default. This way all users in the same group can access the files.

Apple advises to change umask like this:


  sudo launchctl config user umask nnn


After doing sudo launchctl config user umask 002 I got the following message:


  Configuration applied. You must reboot for changes to take effect.


I rebooted and got the following:


  $ umask0022


what am I doing wrong, please advise.

I'm running OS X Server 10.10.3 Yosemite with Server.app 4.1
I can only guess but I think it's an error in 10.10.3 which is solved in 10.10.5 (or maybe 10.10.4) because none of my 10.10.5 hosts show your 10.10.3 behavior.

So I recommend to update to 10.10.5/4.1.5.

BTW the integer in /var/db/com.apple.xpc.launchd/config/user.plist is calculated by converting the three binary "triplets" to a decimal number:

002 = 000 000 010 =   2
022 = 000 010 010 =  18
666 = 110 110 110 = 438