Jade's weblog Archive

Unable to acquire revision lock?

I got this error:

arch_commit: unable to acquire revision lock (could not rename file.)
tree: /home/safe4all-staging/safe4all-staging
revision: jade@safe4all.org--2005/openacs--staging--5.1.0--patch-14

The problem was the umask of another user committing to the archive. That set the permissions so I couldn't access them.

I figured out what was going on with help from ddaa and Rotty on #arch. They suggested using strace on the tla commit. That helped diagnose the problem.

Then, to fix it, you have to do this (I had to be root for some reason):

cd /home/safe4all/{archives}/2005/openacs/openacs--staging/openacs--staging--5.1.0/
chmod g+w *
cd patch-13
chmod g+w ++revision-lock/
chmod g+w ++revision-lock/+contents/

Then the commit worked.

11:31 AM, 05 Jan 2005 by Jade Rubick Permalink | Comments (0)

XML