Allowing a group to access a master hg repo under linux
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue Jan 20 09:21:14 CST 2009
On Tue, 20 Jan 2009 14:42:35 +0100 (CET), Marko Käning <mk362 at mch.osram.de> wrote:
> Hi all,
>
> it looks as if it is fully sufficient just to set a repo "chmod g+w"
> to make it fully accessible by a group, even if the umask is set
> differently.
> [...]
> I thought that a "chmod g+s" is necessary as well, but it does not
> seem so... Am I right?
`chmod -R g+w .hg' and a umask of 002 should be enough, don't set the
g+s flag. Mercurial will then create files with the right permissions
to allow writes by group members.
More information about the Mercurial
mailing list