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

Open
afiskon opened this Issue Jun 27, 2016 · 2 comments

Projects

None yet

4 participants

@afiskon
afiskon commented Jun 27, 2016

Hello.

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

syncthing/syncthing#3338
syncthing/syncthing#3355

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
Closed

Syncthing runs into encfs file name length limit #3338

@rfjakob
Collaborator
rfjakob commented Jul 22, 2016

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

@aidan-fitz

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