umask is typically set for all users in /etc/bashrc or /etc/profile or for specific users in the equivalents in the user's home directory.
There is no native way in PIM to manipulate these 3rd party files.
I could envisage that you used in selang something like
AC> !echo 'umask 0022' >> /etc/profile