Commit 25b16a74 authored by mig5's avatar mig5 Committed by mig5

set appropriate web_group permissions on the private subdirs of d7 sites

parent d4d8f1f8
...@@ -243,6 +243,9 @@ function _provision_drupal_create_directories($url, $profile = NULL) { ...@@ -243,6 +243,9 @@ function _provision_drupal_create_directories($url, $profile = NULL) {
$chgrp["sites/$url/files/tmp"] = drush_get_option('web_group'); $chgrp["sites/$url/files/tmp"] = drush_get_option('web_group');
$chgrp["sites/$url/files/images"] = drush_get_option('web_group'); $chgrp["sites/$url/files/images"] = drush_get_option('web_group');
$chgrp["sites/$url/files/pictures"] = drush_get_option('web_group'); $chgrp["sites/$url/files/pictures"] = drush_get_option('web_group');
// d7 support
$chgrp["sites/$url/private/files"] = drush_get_option('web_group');
$chgrp["sites/$url/private/temp"] = drush_get_option('web_group');
} }
foreach ($mkdir as $path => $perm) { foreach ($mkdir as $path => $perm) {
......
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