diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-01-17 06:36:44 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-01-17 06:36:44 +0300 |
commit | 99647a1b706246bd59d016bb8223d4e1de45724e (patch) | |
tree | aa638e527d443291fa9c6825afb552577e355b7b /doc/raketasks | |
parent | acc3366827ea5ad8ddcf872fabaefc94b97f0d9f (diff) |
Update import.md documentation to specify correct directory ownership and permissions.
Diffstat (limited to 'doc/raketasks')
-rw-r--r-- | doc/raketasks/import.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/raketasks/import.md b/doc/raketasks/import.md index bb229e8acbb..32fe4dc8d0a 100644 --- a/doc/raketasks/import.md +++ b/doc/raketasks/import.md @@ -16,12 +16,22 @@ it in the `/etc/gitlab/gitlab.rb` file. - For manual installations, it is usually located at: `/home/git/repositories` or you can see where your repositories are located by looking at `config/gitlab.yml` under the `gitlab_shell => repos_path` entry. +New folder needs to have git user ownership and read/write/execute access for git user and its group: + +``` +$ mkdir new_group +$ chown git:git new_group +$ chmod 770 new_group +``` + ### Copy your bare repositories inside this newly created folder: ``` $ cp -r /old/git/foo.git/ /home/git/repositories/new_group/ ``` +`foo.git` needs to be owned by the git user and git users group. + ### Run the command below depending on your type of installation: #### Omnibus Installation |