From 0efb967cabce8269b787f50b91ec364263173d36 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 19 Aug 2014 11:57:02 +0100 Subject: Make sure we're in a dir that the alaveteli user can access Otherwise, can get the error 'fatal: Could not change back to '/root': Permission denied' --- docs/installing/manual_install.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/installing/manual_install.md') diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md index 9904081d6..0721bd104 100644 --- a/docs/installing/manual_install.md +++ b/docs/installing/manual_install.md @@ -232,6 +232,7 @@ Create the target directory and clone the Alaveteli source code in to this direc mkdir -p /var/www/alaveteli chown alaveteli:alaveteli /var/www/alaveteli + cd /home/alaveteli sudo -u alaveteli git clone --recursive \ --branch master \ https://github.com/mysociety/alaveteli.git /var/www/alaveteli -- cgit v1.2.3