Bug 1319390 - 208 chars is 'filename too long'
Summary: 208 chars is 'filename too long'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: filesystem
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-19 12:04 UTC by cornel panceac
Modified: 2016-03-20 08:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-20 07:54:59 UTC
Type: Bug


Attachments (Terms of Use)

Description cornel panceac 2016-03-19 12:04:46 UTC
Description of problem:
trying to create a filename ~ 160 chars long, this fails on ext4:


# touch "Валгина Нина, Еськова Наталья, Иванова Ольга, Кузьмина Светлана, Лопатин Владимир, Чельцова Людмила - Правила русской орфографии и пунктуации.Полный академический справочник.fb2"
touch: cannot touch ‘Валгина Нина, Еськова Наталья, Иванова Ольга, Кузьмина Светлана, Лопатин Владимир, Чельцова Людмила - Правила русской орфографии и пунктуации.Полный академический справочник.fb2’: File name too long

Version-Release number of selected component (if applicable):

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
i;m not sure is the filesystem itself ,at stake. it maybe the kernel.

Linux james.last 4.4.4-301.fc23.i686+PAE #1 SMP Fri Mar 4 18:03:11 UTC 2016 i686 i686 i386 GNU/Linux

The filesystem is:

/dev/sda1 on /boot type ext4 (rw,relatime,seclabel,data=ordered)

Comment 1 cornel panceac 2016-03-19 12:37:39 UTC
If instead i create a file who's name has 255 characters, all form '1' to '8' this works fine.

Comment 2 Ondrej Vasik 2016-03-20 07:54:59 UTC
filesystem component is definitely wrong, as it creates and owns basic system directories.
I tend to say this is not a bug - reason for this is in the multibyte characters used in filename. Default limit is 255 bytes - not 255 chars. Therefore it may confuse some people, who use multibyte characters - like letters from Cyrillic. See https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits for the list of filesystems that have limit in chars, not bytes.
Closing NOTABUG, even without reassigning to other components. If you see somewhere documented limit is 255 chars, feel free to open it as documentation issue.

Comment 3 cornel panceac 2016-03-20 08:46:01 UTC
Thnk you, now i understand were i the problem coming from. Is there a Linux filesystem that supports a longer filename?


Note You need to log in before you can comment on or make changes to this bug.