Chapter 7 | Controlling Access to Files
8.2. Create the /etc/profile.d/local-umask.sh file with the following content to
set the umask to 007 for users with a UID greater than 199 and with a username and
primary group name that match, and to 022 for everyone else: