largefiles and permissions

Mojmír Svoboda Mojmir.Svoboda at warhorsestudios.cz
Tue Jul 31 13:23:00 UTC 2012


Good day to you all,

Sorry for the delay for I was on holiday.

> > 	So there is a missing group
> Huh? You'll have to fill in some blanks here. You're getting an error about
> allegedly locked files, and you think that has something to do with groups.
> What's the connection?

I just think the backup script is not at all accurate in translating os errors. So the
script just tries to read the file while it has no group permissions.

> What appears to be missing is one bit of permission: group does not have
> read access. Does sound like a umask problem.

That's what I've been trying to say.

> So: what protocol are you using to push? SSH? HTTP?

https

> What OS is the server running?

Linux - CentOS x64, 2.6 kernel
Hg version 2.2.1

> Have you confirmed that the process where the push runs has the correct
> umask, and runs as the user/group you thought it was running as?

Apache is running as apache:apache

> First you should confirm your suspicion. E.g. write a tiny little CGI script that
> just prints umask to stdout or a file.

I just did almost that, except I wrote wsgi script and ran it, and received
umask=002 as response.. is that sufficient as confirmation?

Best regards,
Mojmir



More information about the Mercurial mailing list