Commit dcaf9b6e authored by mig5's avatar mig5 Committed by mig5

create d7's private dirs even on non d7 sites, as well as set appropriate...

create d7's private dirs even on non d7 sites, as well as set appropriate permissions on them, to account for the future potential of upgrading d6 > d7 sites
parent 63817713
......@@ -244,8 +244,14 @@ function _provision_drupal_create_directories($url, $profile = NULL) {
$chgrp["sites/$url/files/images"] = drush_get_option('web_group');
$chgrp["sites/$url/files/pictures"] = drush_get_option('web_group');
// d7 support
$mkdir["sites/$url/private"] = 0755;
$mkdir["sites/$url/private/files"] = 02770;
$mkdir["sites/$url/private/temp"] = 02770;
$chown["sites/$url/private"] = drush_get_option('script_user');
$chown["sites/$url/private/files"] = drush_get_option('script_user');
$chown["sites/$url/private/temp"] = drush_get_option('script_user');
$chgrp["sites/$url/private/files"] = drush_get_option('web_group');
$chgrp["sites/$url/private/temp"] = drush_get_option('web_group');
$chgrp["sites/$url/private/temp"] = drush_get_option('web_group');
}
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