PDF Print E-mail
Written by Batuhan Osmanoglu   
Friday, 23 April 2010 15:14

Unison sshfs on Ubuntu

 I use unison to synchronize and backup my files between four computers. Recently I noticed a problem that I couldn't modify an already existing file from a different computer. I was getting the error message: 

 

Error in renaming /path/to/local_file.filename 
Operation not permitted [rename(/path/to/remote_file.filename)]

I found about the problem and a solution to that on a forum. Apparently sshfs has a problem with renaming files. Adding a workaround=rename option to my fstab solved the problem. Below is my fstab line:

 sshfs#
 This e-mail address is being protected from spambots. You need JavaScript enabled to view it
 :/RAID1    /RAID1  fuse    noauto,user,idmap=user,workaround=rename  0        3

This seems to work fine for now. 

See also