After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650019 - Cannot trash or restore file if filename very long (245 chars) on ext4
Cannot trash or restore file if filename very long (245 chars) on ext4
Status: RESOLVED DUPLICATE of bug 590920
Product: nautilus
Classification: Core
Component: Trash
2.32.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-12 09:25 UTC by Yongzhi Pan
Modified: 2012-08-14 03:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32



Description Yongzhi Pan 2011-05-12 09:25:36 UTC
I find nautilus cannot trash a file if its filename is longer than 245 chars, since nautilus create trashinfo file in the form <filename>.trashinfo under $HOME/.local/share/Trash/info, which adds 10 bytes to the info file.

Also, if a filename is longer than 238 chars, the file can be deleted but cannot be restored. This is because the trashinfo file is created but empty. I do not find the reason for this, even after a look at the nautilus code.
Comment 1 André Klapper 2011-05-13 19:15:45 UTC
What is your filesystem that $HOME/.local/share/Trash is on?
Comment 2 Yongzhi Pan 2011-05-16 06:26:59 UTC
I am using ext4 on Ubuntu 11.04, Nautilus 2.32.2.1.
Comment 3 André Klapper 2012-04-05 21:15:34 UTC
Potential dup of bug 590920
Comment 4 William Jon McCann 2012-08-14 03:22:00 UTC

*** This bug has been marked as a duplicate of bug 590920 ***