Issue Bug Closed

#52168FAL does not support long paths

Philipp Gampe 09/21/13, 18:03 updated 11/25/13, 14:45

Description

FAL fails to support long paths.
The path limit for Windows using the classing windows API is 260 chars (256 + drive letter, colon, backslash, terminating NUL).
The UNC path limit for Windows is 32767 chars: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath

The general path limit for Linux (default value, can be changed) is: 4096 (PATH_MAX, usually defined in /usr/include/linux/limits.h).
The major Linux file systems do not have a path limit: http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits

The current limit in FAL is: 512 as this is the maximum size for the DB field of an identifier:
https://review.typo3.org/#/c/23882/ (#48912).

FAL should the support long paths as can easily exists in some nested archive structures.
Or to formulate is otherwise, FAL should be at least NT compatible, thus support UNC paths with up to 32767 chars.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.