After updating the version of git tot 2.2.2 and putting the website in a git repo I wasn't able to use the drush qa (quick-archive) command. It gave me the error 'permission denied' on the temp folder/copy of the project.
I had to modify the quickstart.drush.inc file.

these 2 lines

quickstart_shell_exec("sed -i \"s/'\(database\|username\|password\)' => '".$domain_."',/'\\1' => '#######_###',/g\" $tmp_codepath/sites/default/settings.php");

quickstart_shell_exec("rm -rf $tmp_codepath");

adding sudo

quickstart_shell_exec("sudo sed -i \"s/'\(database\|username\|password\)' => '".$domain_."',/'\\1' => '#######_###',/g\" $tmp_codepath/sites/default/settings.php");

quickstart_shell_exec("sudo rm -rf $tmp_codepath");

Not sure if this is the most correct fix, maybe it's helpfull.

Comments

workplaysleep’s picture

Title: permission denied » quickstart-archive: permission denied