The Apache/PHP umask finds the permission of newly created files on the server. Root access is needed to change the umask, which is only available on Dedicated hosting plans without Geeky features and a Performance Booster.
For changing the umask, open the following file:
/usr/local/apache/bin/envvars
Inside it, add the below line:
umask 022
With this the default permissions to 022 will be set. Restart the Apache service on the server, for the change to take effect.
Also Read:
Learn to Restart Apache on Dedicated Server