Can not trash files with name length more than 246 characters
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:/
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______
(For trashing open the container folder: Places and the first item. You find this file here after the previous command.)
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