Umask issue ?

1 post / 0 new
#1 Wed, 06/05/2019 - 16:08
redrum2

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 ../web-lib-funcs.pl 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.

Array
(
    [program] => create-domain
    [domain] => facebook.com
    [user] => facebook
    [pass] => F@hf943AUi2j#Y
    [email] => patrickdenino@gmail.com
    [template] => Default Settings
    [plan] => Default Plan
    [features-from-plan] =>
)