Commit 5b24ab1a authored by anarcat's avatar anarcat Committed by anarcat

set the settings.php group based on the web_group defined on the platform args...

set the settings.php group based on the web_group defined on the platform args instead of the predefined default group

this is required for the ITK extensions

See: #334416
parent 7e1d72ad
......@@ -157,7 +157,8 @@ function _provision_drupal_create_settings_file(&$data, $url = NULL) {
provision_path("chmod", "sites/$url/settings.php", 0440,
dt('Changed permissions of settings.php to @confirm'),
dt('Could not change permissions of settings.php to @confirm'));
provision_path("chgrp", "sites/$url/settings.php", PROVISION_WEB_GROUP,
$group = $data['web_group'] ? $data['web_group'] : PROVISION_WEB_GROUP;
provision_path("chgrp", "sites/$url/settings.php", $group,
dt('Change group ownership of settings.php to @confirm'),
dt('Could not change group ownership of settings.php to @confirm'));
}
......
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