Linux ext4 file length

Yes, but i’d advise against it, because it is not a stable configuration. We struggled a lot with this problem in the past and have now a plan how to solve it, but we are only at the beginning of its implementation.

If you really, really want to, you can perform the following steps. Note, those are written for the upcoming 1.6.0 version of Cryptomator (you can download the beta of it here).

:warning: Read the instructions completely before you continue :warning:

  1. Perform the calculations described in Error during updating vault (Cryptomator 1.5.3) - #7 by infeo
  2. With the resulting value x, compute the value y = ((x - 4) / 4 ) * 3 - 16 (where an integer division is used and you need to apply the division before the multiplication!)
  3. Create a new vault in the desired storage location (i.e. with name VAULT), unlock it once and lock it again
  4. Open the log directory over the general preferences
  5. Quit Cryptomator app
  6. Open the file settings.json the log directory with a texteditor
  7. Look for the entry "displayName": "VAULT",
  8. Replace the value behind the next maxCleartextFilenameLength with your calculated y (do not delete the comma!)
  9. Save your changes
  10. Test the setting by starting Cryptomator, unlock the configured vault and try to place a file with more (ASCII) characters than y → it should not work
  11. Sync this vault to the cloud
  12. On every other desktop system, where you access the vault:
    i. Add the vault to Cryptomator
    ii. Perform steps 5.-10.

Since this setting always only made locally, you have to set it up on every system. Please note that the mobile apps do not allow restricting the filename length. Here you need to be … yeah, well… just careful.^^