Menu

#10 Windows maximum dir length limit

1.0
open
nobody
None
2015-08-04
2015-03-05
Jibi Jose
No

In all windows, absolute dir length is limited to 250/256/260 (Not sure). Due to this restriction other apps (like onedrive) crashes while trying to sync encrypted dir structure created by EncFs.

Resolution suggested:
Atleast a warning can be show to user mentioning that encrypted dir length exceeds X limit and may create problems later.

Discussion

  • RomanH

    RomanH - 2015-03-07

    This path length is a very unfortunate restriction of Windows, and it was quite difficult to work around it while implementing EncFSMP. Since the encrypted file/directory names are longer than the original ones, the encrypted directories will sooner hit the length restriction.
    I am not very happy with your suggestion. Most people will not need it, and the warning would be quite intrusive.
    My idea is to have an icon in the EncFSMP window that will show whether or not the length has been exceeded.

     
  • Jibi Jose

    Jibi Jose - 2015-03-08

    Diff file icon would be much better option. But please make sure all parent folder icons have it (Otherwise end user will have to go to each file and check for it)

     
  • RomanH

    RomanH - 2015-03-08

    What do you mean with a diff icon? Difference of what? And where, in the Windows Explorer? For that, I would need to implement a Explorer extension, which I don't have the intention to do.

     
  • Jibi Jose

    Jibi Jose - 2015-03-12

    An icon in EncFsMP window will do. If possible please have a way to show which all files/folders (decrypted file/folder names) are causing this so that user can manually take corrective steps.

     

    Last edit: Jibi Jose 2015-03-12
  • RomanH

    RomanH - 2015-03-12

    I will think about it and put it on my todo list.

     
  • Owyn

    Owyn - 2015-08-04

    Thanks, because now some files might just get lost because of it...

    few subfolders inside subfolders and boom! limit exceeded!

     

Log in to post a comment.