Commit f488cecf authored by ergonlogic's avatar ergonlogic

Issue #1647830 by sambonner: Fix Incorrect ownership of directories under...

Issue #1647830 by sambonner: Fix Incorrect ownership of directories under sites/example.com/private/files/.
parent 36edd239
......@@ -60,6 +60,10 @@ function drush_provision_drupal_pre_provision_deploy($backup_file) {
provision_file()->chgrp(drush_get_option('extract_path') . '/files', d('@server_master')->web_group, TRUE)
->succeed('Changed group ownership of files in <code>@path</code> to @gid')
->fail('Could not change group ownership of files in <code>@path</code> to @gid');
provision_file()->chgrp(drush_get_option('extract_path') . '/private/files', d('@server_master')->web_group, TRUE)
->succeed('Changed group ownership of private files in <code>@path</code> to @gid')
->fail('Could not change group ownership of private files in <code>@path</code> to @gid');
if (drush_get_option('deploy_replace_site', FALSE)) {
$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