Ability to Change the default umask under OSX
Sometimes you may want to set a customer umask in OSX/Linux to ensure that default permissions are correct. For example, Maybe I would like to assign read/write for both the owner of a file and the group membership. You can do this by the following:
Setting a custom umask in OS X
https://support.apple.com/en-us/HT201684
To change this you will, as far as I know, need to use the Terminal.app and enter these two lines:
sudo launchctl config user umask 002
sudo launchctl config system umask 002
(You will need to enter your password after the first ‘sudo’ command.)
`man launchctl` will also tell you: “A reboot is required for changes made through this subcommand (launchctl config) to take effect.”