Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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.

share|improve this question
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 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

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).

share|improve this answer

protected by Community Oct 26 '15 at 18:39

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.