Umask issue ?

So when provisioning from whmcs I get this error.

Performing other Apache configuration …
… configuration failed : Failed to copy /etc/php/7.2/cgi/php.ini to /home/facebook/etc/php7.2/php.ini : at …/ line 1478.

The /home/facebook/ directory is set to permission 750 would that stop virtualmin from being able to copy files to that directory ?

Umask is set to 0022 by default, using digitalocean ubuntu 18.04.

I set umask to 002, issue persists… The permission for the new virtual servers directory created by whmcs automation module for virtualmin arent being changed to 775.

This is the array WHMCS ran.

[program] => create-domain
[domain] =>
[user] => facebook
[pass] => F@hf943AUi2j#Y
[email] =>
[template] => Default Settings
[plan] => Default Plan
[features-from-plan] =>