{"comment":{"created_at":"2011-10-21T22:18:52Z","body":"The user that owns the config/environments.rb file owns the ruby process (at least if you're using passenger/apache).  The user specified in the config/gitosis.yml file is the user that needs to be authorized to modify gitosis-admin.git (i.e. the user that ran gitosis-init).\r\n\r\nThey do not have to be the same user, but the user that owns the ruby process has to be the same user that owns the /tmp/gitlabhq-gitosis.lock file.\r\n\r\nIn a *nix shell, you can type:\r\n\r\n``` $ ls -l ```\r\n\r\nWhich will list every file in a folder along with the permissions, and which user:group owns the file, among other useful information","updated_at":"2011-10-21T22:18:52Z","url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/2486880","id":2486880,"user":{"avatar_url":"https://secure.gravatar.com/avatar/7d4c934fce332af882c2cca0512c2673?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7d4c934fce332af882c2cca0512c2673","url":"https://api.github.com/users/DejaAugustine","id":876181,"login":"DejaAugustine"}},"action":"created","issue":{"number":41,"created_at":"2011-10-20T01:43:18Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I tried doing the install from the wiki page and I still cant add repos or keys from the web interface.\r\n\r\nI tried running the nginx as gitlabhq which is the user I got the public ssh key from. gitosis actually runs under the git user. However when gitosis installs on my system it creates its own user called gitosis. I do not understand how other people get this to work. I followed the wiki to the letter and either it is missing something and/or i don't know something that I should. I would like to see other people's configurations and exactly (per-command basis) how they got it up and running, as the wiki and the readme are not clear. I've been pulling my hair out trying to get this to work\r\n\r\nI am running Ubuntu 11.10.\r\n\r\nI will try to reinstall again tomorrow then I will update with configs.","comments":18,"title":"Can't add repos or keys from web interface","updated_at":"2011-10-21T22:18:52Z","url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/41","id":2000551,"assignee":null,"milestone":null,"closed_at":"2011-10-20T20:27:42Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/9808c7a54bafdf11b316af07ced460d9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9808c7a54bafdf11b316af07ced460d9","url":"https://api.github.com/users/infomaniac50","id":520583,"login":"infomaniac50"},"html_url":"https://github.com/gitlabhq/gitlabhq/issues/41","labels":[],"state":"closed"},"legacy":{"issue_id":2000551,"comment_id":2486880}}