# Re: Permissions and authorisations in git repository

2 messages from 2011-01-28 to 2011-01-28. Participants: Victor Engmark, Harry Johnson.
Thread: https://gitlist.dev/t/26357

## Victor Engmark, 2011-01-28 11:55

Subject: Re: Permissions and authorisations in git repository
Message-ID: <4D42AEB9.3020008@terreactive.ch>
URL: https://gitlist.dev/e/4D42AEB9.3020008%40terreactive.ch
In-Reply-To: <10431381.57687.1296214887819.JavaMail.trustmail@mail1.terreactive.ch>

```
On 01/28/2011 12:41 PM, vikram2rhyme wrote:
>
> Hello friends
> I am wondering if there are any permission and authorization control over
> git
> repository. I have gone through git manual but there is no discussion on it.
> On the internet i searched but hardy i found anything. Please help me if
> there
> is any permission control in distributed environment in git repository

Git is independent of access control mechanisms - You can use whatever 
you want. For example, you could use the filesystem read/write 
permissions on a directory to control local access, or SSH permissions 
to allow remote access. See for example GitHub, which uses different 
protocols for different levels of access.

HTH,
-- 
Victor Engmark

```

## Harry Johnson, 2011-01-28 17:01

Subject: Re: Permissions and authorisations in git repository
Message-ID: <AANLkTi=W2Ni=0=hBw5d-2QkQz5tRaMeTLScRYOZhi=BQ@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTi%3DW2Ni%3D0%3DhBw5d-2QkQz5tRaMeTLScRYOZhi%3DBQ%40mail.gmail.com
In-Reply-To: <4D42AEB9.3020008@terreactive.ch>

```
Git is independent of access control mechanisms to some degree,
however, if you use ssh and share a repository with other users you
will want to look into the core.sharedRepository config setting. Took
me a while to discover this.

Check 'git help config' and search for shared for the details.

HTH,
-Harry

On Fri, Jan 28, 2011 at 6:55 AM, Victor Engmark
<victor.engmark@terreactive.ch> wrote:
> On 01/28/2011 12:41 PM, vikram2rhyme wrote:
>>
>> Hello friends
>> I am wondering if there are any permission and authorization control over
>> git
>> repository. I have gone through git manual but there is no discussion on
>> it.
>> On the internet i searched but hardy i found anything. Please help me if
>> there
>> is any permission control in distributed environment in git repository
>
> Git is independent of access control mechanisms - You can use whatever you
> want. For example, you could use the filesystem read/write permissions on a
> directory to control local access, or SSH permissions to allow remote
> access. See for example GitHub, which uses different protocols for different
> levels of access.
>
> HTH,
> --
> Victor Engmark
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

```
