Commit 7afbd0ce authored by mig5's avatar mig5 Committed by mig5

fix for #947898 - config dir itself is chmod 700 and needs to be 711 to allow...

fix for #947898 - config dir itself is chmod 700 and needs to be 711 to allow apache to read in global.inc
parent 24e07a71
......@@ -24,6 +24,8 @@ function drush_provision_drupal_provision_verify_validate() {
function drush_provision_drupal_pre_provision_verify() {
if (d()->type === 'server') {
$config_root = dirname(d()->config_path);
provision_file()->create_dir($config_root, dt('Provision configuration root'), 0711);
provision_file()->create_dir(d()->config_path, dt('Provision configuration'), 0711);
if (d()->name == '@server_master') {
provision_file()->create_dir(d()->backup_path, dt('Backup'), 0700);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment