Can not trash files with name length more than 246 characters

Bug #360219 reported by bughunter
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

The maximum file name size is 256 characters in Linux. I think, this is a bug in itself, see how I discovered it this limit of the system: https://bugs.launchpad.net/bugs/359531

I read on the net, that someone had the problem copying UTF characters from NTFS to Ext3, but hopefully this works by now fine.

And the recent bug: make a file with name length more than 246 character, and try to trash it with Gnome. You can't because in the trash it gets an additional .trashinfo extension -- not enough space for that.

Try trash this:

$ touch 1___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________256

(For trashing open the container folder: Places and the first item. You find this file here after the previous command.)

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

The filename length restriction is a limit of the kernel. Read this thread to understand why increasing this would be a lot of work, and break lots of stuff: http://kerneltrap.org/mailarchive/linux-ext4/2008/11/21/4189464

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Confirmed in Trusty but Won't Fix as per https://bugs.launchpad.net/ubuntu/+source/linux/+bug/360219/comments/1 . The archived discussion is now found at http://www.spinics.net/lists/linux-ext4/msg10172.html .

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.