git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Permissions and authorisations in git repository

From
HJHarry Johnson <hjohnson@viasic.com>
Date
Jan 28, 2011, 17:01 UTC
Message-ID
<AANLkTi=W2Ni=0=hBw5d-2QkQz5tRaMeTLScRYOZhi=BQ@mail.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:

Show 25 quoted lines
> 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
>
Previous: Victor Engmark
Message 2 of 2 in “Re: Permissions and authorisations in git repository”
  1. Victor EngmarkJan 28, 2011
  2. Harry JohnsonJan 28, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.