diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-08-19 11:57:02 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-08-21 17:38:21 +0100 |
commit | 0efb967cabce8269b787f50b91ec364263173d36 (patch) | |
tree | 3737ded42f629c99b5e2ac55803d8aaae4951895 | |
parent | 7ab9396aa245ed67ec58adc300b6b8d5429d7302 (diff) |
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'
-rw-r--r-- | docs/installing/manual_install.md | 1 |
1 files changed, 1 insertions, 0 deletions
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 |