Commit 0c3b9240 authored by ac's avatar ac Committed by helmo

Issue #2888283 by ac: Not updating ownership of private/config

parent 1852e6f2
...@@ -5,7 +5,11 @@ NameVirtualHost *:<?php print $http_port; ?> ...@@ -5,7 +5,11 @@ NameVirtualHost *:<?php print $http_port; ?>
<VirtualHost *:<?php print $http_port; ?>> <VirtualHost *:<?php print $http_port; ?>>
ServerName default ServerName default
Redirect 404 /
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(?!(/\.well-known/acme-challenge/.+)) - [R=404,L,NC]
</IfModule>
</VirtualHost> </VirtualHost>
......
...@@ -67,6 +67,9 @@ function drush_provision_drupal_pre_provision_deploy($backup_file) { ...@@ -67,6 +67,9 @@ function drush_provision_drupal_pre_provision_deploy($backup_file) {
provision_file()->chgrp(drush_get_option('extract_path') . '/private/temp', d('@server_master')->web_group, TRUE) provision_file()->chgrp(drush_get_option('extract_path') . '/private/temp', d('@server_master')->web_group, TRUE)
->succeed('Changed group ownership of temp files in <code>@path</code> to @gid') ->succeed('Changed group ownership of temp files in <code>@path</code> to @gid')
->fail('Could not change group ownership of temp files in <code>@path</code> to @gid'); ->fail('Could not change group ownership of temp files in <code>@path</code> to @gid');
provision_file()->chgrp(drush_get_option('extract_path') . '/private/config', d('@server_master')->web_group, TRUE)
->succeed('Changed group ownership of config files in <code>@path</code> to @gid')
->fail('Could not change group ownership of config files in <code>@path</code> to @gid');
if (drush_get_option('deploy_replace_site', FALSE)) { if (drush_get_option('deploy_replace_site', FALSE)) {
$old = d()->site_path . '.restore'; $old = d()->site_path . '.restore';
......
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