4

I'm using Unison for backup/file replication.
Unison has a problem with long file names - it does not sync files with long names

Error:

Failed: Error in querying file information: File name too long  

Over here the developer says about plans to fix that.

Any information weather this has been fixed in specific version?
I've tried 2.40.102 - not fixed.

devav2
  • 35,738
  • 17
  • 79
  • 82
user116190
  • 41
  • 2
  • How long is your filename and what file systems do you use on each side? – qbi Dec 24 '12 at 12:59
  • I've got the same issue. Using ext4 on both sides. I guess the maximum file length also has to do with how file names are encoded. For example, I've got a file of 146 characters long that is causing unison (and ls as well) to fail, so I assume UTF8 is used to encode the file names. – ph0t0nix Mar 12 '13 at 13:25
  • I just found [this post](http://tech.groups.yahoo.com/group/unison-users/message/10756) that says the maximum file length on ecryptfs-encrypted drives is 143. That is consistent with my findings. I am indeed using encrypted home directories. – ph0t0nix Mar 12 '13 at 13:30

1 Answers1

0

This issue has been resolved as of Unison 2.45. From the changelog on the manual page:

Incorporated a patch from Irányossy Knoblauch Artúr to make temp file names fit within 143 characters (to make eCryptFS happy).

Mike Pierce
  • 282
  • 3
  • 17