Blog‎ > ‎

Unable to acquire revision lock?

posted Dec 30, 2008, 1:14 PM by Jade Rubick

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.

Comments