Skip to content

Commit

Permalink
chown multisite root - see #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Dunlavey committed Apr 20, 2017
1 parent 687763c commit 508d04f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sitespinner.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ function sitespinner_create_site($destination_site_alias_record) {
$setings_file_permissions = !empty($destination_site_alias_record['sitespinner-destination']['server-environment']['settings_file_permissions']) ?
$destination_site_alias_record['sitespinner-destination']['server-environment']['settings_file_permissions'] :
SITESPINNER_SETTINGS_PERMS;
sitespinner_exec("sudo chown " . $default_user . ":" . $default_group . " " . $multisite_root);
sitespinner_exec("sudo mkdir " . $destination_files_directory);
sitespinner_exec("sudo chmod " . $files_directory_permissions . " " . $destination_files_directory);
sitespinner_exec("sudo chown " . $default_user . ":" . $default_group . " " . $destination_files_directory);
Expand Down

0 comments on commit 508d04f

Please sign in to comment.