* multiple group access to update repo
@ 2011-01-15 4:53 Neal Kreitzinger
2011-01-16 12:27 ` Manuel Doninger
0 siblings, 1 reply; 2+ messages in thread
From: Neal Kreitzinger @ 2011-01-15 4:53 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: multiple group access to update repo
2011-01-15 4:53 multiple group access to update repo Neal Kreitzinger
@ 2011-01-16 12:27 ` Manuel Doninger
0 siblings, 0 replies; 2+ messages in thread
From: Manuel Doninger @ 2011-01-16 12:27 UTC (permalink / raw)
To: Neal Kreitzinger; +Cc: git
On Sat, Jan 15, 2011 at 05:53, Neal Kreitzinger <nkreitzinger@gmail.com> wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-16 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-15 4:53 multiple group access to update repo Neal Kreitzinger
2011-01-16 12:27 ` Manuel Doninger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).