Can't move to trash in data partition

Bug #1406376 reported by Mike on 2014-12-29
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)

Bug Description

I have a clean install of Ubuntu 14.10.

I partitioned my disk into / (20GB) and /data (230GB) partitions.
I then created /data/home/ubuntu, moved my /home there, and bind mounted /home to /data/home/ubuntu.
I then created symlinks for ~/Downloads, ~/Music, etc... to /data/Downloads, /data/Music, etc...

Whenever I delete files directly inside ~/ they seem to go to the Trash (in ~/.local/share/Trash), but when I try to delete files in other folders that are linked to /data (for example ~/Downloads, or /data/Downloads) Nautilus says: "File can't be put in the trash. Do you want to delete it immediately?".

To fix it, I attempted to create trash folders with permissions 1700 and chowned to my user in the following places (to no avail!):
 * /data/.Trash-$(id -u)
 * /data/.Trash
 * /.Trash-$(id -u)
 * /.Trash

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → nautilus (Ubuntu)
Mike (michael-vm) wrote :

I've done a couple of straces of nautilus while attempting to delete some files. In the cases where it fails deleting a file in the /data partition, I don't understand why Ubuntu isn't looking for a /data/.Trash folder and instead trying to move the deleted file to ~/.local/share/Trash which obviously fails.

Mike (michael-vm) wrote :

To workaround the issue I changed the bind mounted /home to a symbolic link.

Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in nautilus (Ubuntu):
importance: Undecided → Low
Sebastien Bacher (seb128) wrote :


Changed in nautilus (Ubuntu):
status: New → Triaged
Changed in nautilus:
importance: Unknown → Medium
status: Unknown → New
CzBiX (gliuwr) wrote :
CzBiX (gliuwr) wrote :

This bug is caused by the patch at

Ubuntu applied the patch in 2.44.0-1ubuntu3.

I compile glib without this patch, then issues resolved.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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