Project

General

Profile

Actions

Bug #52168

closed

FAL does not support long paths

Added by Philipp Gampe over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-09-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #48912: sys_file table structureClosed2013-06-06

Actions
Has duplicate TYPO3 Core - Bug #51649: Long paths to files cause errorsClosed2013-09-02

Actions
Actions #1

Updated by Frans Saris over 10 years ago

This is resolved with https://review.typo3.org/#/c/23398/ identifier column is of type text now

Actions #2

Updated by Philipp Gampe over 10 years ago

  • Status changed from New to Closed

Thanks Frans.

Actions

Also available in: Atom PDF