largefiles and permissions
Mojmir Svoboda
mojmir.svoboda at warhorsestudios.cz
Wed Jul 25 11:37:27 UTC 2012
Good afternoon sirs,
I have a slight problems with permissions on largefiles.
Actually there are two symptoms:
1. backup program (in group apache) does say from time to time that
the file is locked
Error accessing possibly locked file .../.hg/largefiles/somehash
[root at mercurial largefiles]# ls -la somehash
-rw--w----. 1 apache apache 24664770 Jul 19 11:40 somehash
So there is a missing group
2. hg push cries if large file modified
% hg --repository W:/code push https://...
pushing to https://...
searching for changes
Found hash2 in store
unexpected putlfile response: Noneabort: remotestore: could not put
W:/code/.hg/largefiles/hash2 to remote store
-rw-------. 1 apache apache 35631104 Jul 25 12:48 hash2
Also missing group? But when pushing it's the apache process running
as apache user + apache group. So I should have these rights in
this case, shouldn't I? But there are other parts of the chain like
python i guess..
Everything suggests that I have invalid umask 002 for apache, the thing
is that I probably do not know where to stick it (although I have tried).
Do you have any experience with this?
I wonder how come that i do not encounter that issue with normal files?
(only largefiles)
Best regards and thanks for your attention,
Mojmir
More information about the Mercurial
mailing list