umask and permissions issue

Ramashish Baranwal ramashish.lists at gmail.com
Mon Jan 12 03:03:04 UTC 2009


Hi,

I want to set up a repository where multiple persons can commit. I am
trying to do this through group write permission. For this, I have
made the umask of users to be 0002 and put all of them into a common
group, so that anyone in the group have write permission. The issue is
when I tried to push some changes from another machine, the newly
added files inside .hg/store/data end up with just read permission for
the group, thus becoming non-modifiable for others.
Am I missing something? I am using Ubuntu 8.04 server edition with hg
version 0.9.5, the umask changes are made in  /etc/bash.bashrc.

Thanks in advance,
Ram



More information about the Mercurial mailing list