Search code examples
svnsshfs

After mounting using sshfs I cannot commit my changes using subversion


local machine: Fedora 13 Subversion: 1.6.9

remote machine:
CentSO 5.3
subversion 1.4.2

I have a project which is on the remote machine:

remote@x.x.x.x:projects/ssd1

I have mounted this on my local machine:

sshfs remote@x.x.x.x:projects/ssd1 /home/jbloggs/projects/mnt/ssd1

Everything mounts ok. So I open my project using GNU Emacs 23.2.1. When I want to comment my changes in emacs I get the following error:

can't move /home/jbloggs/projects/mnt/ssd1/.svn/tmp/entries to /home/jbloggs/mnt/ssd1/.svn/entries: Operation not permitted

Does anyone know of any way I can resolve this issue?

many thanks for any advice,


Solution

  • I think the issue is with sshfs, rather than Subversion. The short answer is: try the "rename workaround" option:

     sshfs -o workaround=rename ...
    

    If that doesn't help see if you can rename the file manually using the Linux mv command (not the SVN one). If not, can you rename it using SFTP (ie. without using sshfs)? See http://www.mail-archive.com/macfuse-devel@googlegroups.com/msg00559.html for a more detailed discussion.