I got some Mercurial repositories which are served by Apache over HTTP. But there is a dedicated user performing some automated tests, which needs to check out the repositories locally. Recently this started to fail, seemingly due to lacking rights for files in the largefiles subdirectory in
-rw------- 2 www-data www-data 6.3M 2012-01-02 17:23 9358b828fb64feb37d3599a8735320687fa8a3b2
Default umask should be 022. And I used the setgid settings for the directories in
.hg according to the multiple committers wiki page, which does not cover
.hg/largefiles though. However, as far as I understand it, setting the gid for this directory wouldn't solve the problem, that
hg sets such restrictive rights on those files. My other user trying to access this repositories via the filesystem is also in the
www-data group, thus an additional read right for group would be sufficient to solve my problem.
How can I convince Mercurial, or the system to grant this right properly for new files?
I am using: Mercurial Distributed SCM (version 2.1)