Cleanup failed to process the following, can’t move svn-work to svn-base, access is denied.

Had this error a lot, we only seemed to have a problem when we were committing images though, so I thought it was a problem with that.

Cleanup failed to process the following paths:
- \\ourServer\ourDirectory\
In directory ‘\\ourServer\ourDirectory\images’
Error processing command ‘committed’ in ‘\\ourServer\ourDirectory\images’
Can’t move ‘\\ourServer\ourDirectory\images\.svn\props\imageName.jpg.svn-work’
to
‘\\ourServer\ourDirectory\images\.svn\prop-base\imageName.jpg.svn-base’:
Access is denied

We run VisualSVN server on Win7, serving up a local (Win 7) repository. All our files are checked out using Tortoise to a samba share under Debian. After some googling it turns out that a particular version of samba causes this error. To solve it I did a few things

  1. Established what version of Samba we were running by running
    smbstatus
  2. I then updated our samba by running
    apt-get update
    apt-get upgrade samba
  3. I then edited smb.conf following the discussion at http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=989775, what to do can be found at http://tortoisesvn.tigris.org/faq.html#samba but basically
    nano /etc/samba/smb.conf
    find the line [global] and underneath add
    delete readonly = yes
  4. Restart samba with
    /etc/init.d/samba restart

And things played nicely ever since!

If this helped you please check out the business directory I work for, for example here are Computer Consultants in Taunton, Somerset. You can get a free advert with us!

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Technorati
  • Twitter
Posted Thursday, January 28th, 2010 under Computers, Development, Linux.

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes