>
> On Wednesday, January 7, 2015 10:13:38 AM UTC+1, vishnu prasad wrote:
>>>
>>>
>>> Hi Achilleas ,thx for close observation on my query's 
>>>
>>> Yeah its owned by git .I have done with my all findings to resolve this 
>>> issue .Please suggest me any new way to resolve this issue 
>>>
>>>
>>> total 8
>>> drwxr-xr-x 2 gitlab gitlab 4096 Jan  7 01:04 ./
>>> drwxr-xr-x 7 gitlab gitlab 4096 Nov  6 16:38 ../
>>> -rw-r--r-- 1 gitlab gitlab    0 May  1  2014 .gitkeep
>>> srwxrwxrwx 1 gitlab gitlab    0 Jan  7 01:04 gitlab.socket=
>>>  
>>>
>>
>>
>> Did it work before? Or is it a new installation ?
>> Seing /srv, I suspect you are using SLES or OpenSuSE. Did you check for 
>> AppArmor ? or SELinux if not using SuSE flavors ? 
>>
>
>>
>> Laurent. 
>>
>
>
> Hi Lauent
>
> Yes it worked before ,it not a new installation .
>
> its Ubuntu 12.04 .4 LTS My AppArmor is working fine .Please suggest me .
>  
>

I have an old manual installation which was updated multiple times. I'm 
using user git as recommended. nginx is part of the git group, so it can 
access the socket:
# ls -ld /home/git
drwxr-x--- 9 git git 4096 Dec 22 19:00 /home/git
# id git
uid=496(git) gid=493(git) groups=493(git),494(redis)
# id nginx
uid=495(nginx) gid=492(nginx) groups=492(nginx),493(git)
# ls -ld ~git
drwxr-x--- 9 git git 4096 Dec 22 19:00 /home/git/

Adding nginx to group git was suggested in GitLab CentOS recipe:
https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos

So, I never got any permission issue accessing the socket. In addition, I 
think I was previously using reverse proxy mode instead of socket.

-- Laurent.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/2172f88f-37c8-4ab3-916f-33bb6af9739c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to