Set Default File and Directory Permissions
Set the default operating system file and directory permissions to 0022 (022).
Use the umask command to confirm that the permissions are set as necessary. For example, to see what the current umask setting are, enter:
umask
If you want to set a default umask for all users of the OS, edit the
/etc/profile
file, or other appropriate file for system-wide
shell configuration.
Ensure that the umask is set for all terminal sessions that you use during installation.