After creating new accounts via WHM I find that all folders created in the public_html folder have a permission of 775 which often leads to a 500 error in a browser.
I am currently executing the following command via SSH find . -type d -exec chmod 755 {} \;
from the public_html
folder for every new account that I create on my VPS.
How can I set the default permissions for new files/folders VPS-wide so that I don't have to SSH in and run that command every tyime I create a new account on my VPS?