diff --git a/commands/pm/package_handler/wget.inc b/commands/pm/package_handler/wget.inc index c9be664..cf9a695 100644 --- a/commands/pm/package_handler/wget.inc +++ b/commands/pm/package_handler/wget.inc @@ -53,6 +53,8 @@ function package_handler_install_project(&$project, $release) { // Untar drush_shell_exec("tar -xf $tarpath"); + $buf = stat("."); + drush_shell_exec("chown -R ".$buf["uid"].":".$buf["gid"]." ."); // We're not using tar -xzf because that's not working on windows... // Handle the dodgy directory used by the drupal project' packaging script.