summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-13 09:25:21 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-13 09:25:21 -0800
commite5080755a8ed79353096631ba3287d62c5e3e61f (patch)
tree132829d159a019f05f3a8b14560d48662a8b56e9
parent27975fda5d86787b2e723d1ba6e8075faaa11a01 (diff)
parent6ce2ff66974eeeb88f3ea523eaa38355be8d27c2 (diff)
downloadgitlab-ce-e5080755a8ed79353096631ba3287d62c5e3e61f.tar.gz
Merge pull request #2947 from nafu/4.2/doc_patch
Update command to execute as git user
-rw-r--r--doc/install/installation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index f56d1c715f2..4ca5f2de7c6 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -147,7 +147,7 @@ Fix the directory permissions for the repositories:
# Make sure the repositories dir is owned by git and it stays that way
sudo chmod -R ug+rwX,o-rwx /home/git/repositories/
sudo chown -R git:git /home/git/repositories/
- find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s
+ sudo -u git -H find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s
## Add domains to list to the list of known hosts