Re: multiple group access to update repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 15, 2011 at 05:53, Neal Kreitzinger <nkreitzinger@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]