Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2015-08-04 Thread Christian Hammond
Hi, Just to check, is this repository local to the Review Board server, or remote? If local, make sure that your web server's user (usually apache or www-data) has read access to everything under the git repository. if remote, you're going to need to use a service like gitweb/cgit/gitlab/etc,

Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2015-08-04 Thread Christian Hammond
Hi, There's no additional logs for this, as that's basically all the information we're given. That error is coming straight from Git. Best way to reproduce for testing is to `sudo -s` to your web server's user, then attempt to do a `git ls-remotes` on that repository. See if you get an error.

Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2015-08-04 Thread udam . dewaraja
Hi Christian, Thank you for the quick response. I'm using local repo due to not having the gitweb/cgit etc. I locally cloned the git repository under my home directory. The whole repository has read privileges to all users of the system (chmod -R ugo+r foo) already. However, the error message

Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2015-08-04 Thread udam . dewaraja
Ok yes, that was the problem. For anyone thats in this bad situation in the future, the way to figure out the issue is as follows: As Christian mentioned, do: sudo -su apache (or user who runs apache) cd to git repo git ls-remote In my case, it was failing to connect via ssh (public key

Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2014-08-12 Thread julian . jacobson
I have the same problem on Ubuntu 12.04. All the rest works really well, but I still get the same error message when trying to add local git repositories. Has anyone managed to do this successfully? -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for

Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2014-08-10 Thread julian . jacobson
Hi Stephen, Thanks for your fast reply. Be aware that on Fedora, Review Board is running as the 'apache' user. Also, SELinux is often a culprit (but since you mentioned it above, I suspect you already know how to verify that with permissive mode). I'm used to having chown-ed all files

Re: Permission denied accessing the local Git repository '/home/user/foo/.git'

2014-08-09 Thread Stephen Gallagher
On 08/09/2014 04:55 PM, julian.jacob...@arcor.de wrote: Hello everybody out there using ReviewBoard, On Fedora 20 with default ReviewBoard RPM packages, installation of ReviewBoards works fine. I've tried to set appropriate file permissions for my local git repository and modified SELinux