Rules regarding maximum filename length are confusing, documentation could be improved #183

afiskon opened this Issue Jun 27, 2016 · 2 comments


None yet

4 participants

afiskon commented Jun 27, 2016


Recently I faced a strange problem with EncFS. You can find all the details here:


Long story short - according to encfs man page it should handle file names up to "approximately" 189 characters since underlying ext4 FS handles up to 255 characters (formula: 3*(N-2)/4). But in practice I couldn't create a file with name containing 145 characters. Syncthing developers and I couldn't figure out why.

I believe it's because by file name you mean absolute file name, but I'm not sure about it and it's not clear from the documentation. Perhaps you could give more details on what are limits on maximum file name length and absolute file name length.

@afiskon afiskon referenced this issue in syncthing/syncthing Jun 27, 2016

Syncthing runs into encfs file name length limit #3338

rfjakob commented Jul 22, 2016

The limit is 176 characters and I will fix up the man page.


Is it because filenames are encoded in Base64? It would help if the man page stated that.

@vgough vgough added the Hacktoberfest label Oct 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment