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

Re: multiple group access to update repo

From
Manuel Doninger <manuel.doninger@googlemail.com>
Date
Jan 16, 2011, 12:27 UTC
Message-ID
<AANLkTikGHEz4YknOAH2hFQKjYOhsYocdNfUYUZW_8GVd@mail.gmail.com>
In-Reply-To
<igr99g$mca$1@dough.gmane.org>
On Sat, Jan 15, 2011 at 05:53, Neal Kreitzinger <nkreitzinger@gmail.com> wrote:
Show 10 quoted lines
> How do I allow users from different linux group to cd to a common bare
> mirror repo and also to a common non-bare cloned repo and perform git-fetch
> and git pull --ff-only?  Currently, the non-owner group gets this error:
>
> error: cannot open FETCH_HEAD: Permission denied
>
>
> v/r,
> Neal
>

In this case i would suggest to access the repository via SSH and do the access control with Gitolite. Then you can use for example a user "Git" and chmod the repositories to that user and group. Depending on the size of your team, it could need a bit of time to configure Gitolite, but it's very flexible to adjust it for later needs. If this doesn't fit your needs, then i think the only solution is to create a linux group only for that repository and assign all users, that need access to the repository, to that group.

Manuel
Previous: Neal Kreitzinger
Message 2 of 2 in “multiple group access to update repo”
  1. Neal KreitzingerJan 15, 2011
  2. Manuel DoningerJan 16, 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.