Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
workplaysleep CreditAttribution: workplaysleep commented