It is not a permissions problem. This is a known bug which has been reported at https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1442649 (it affects more than just Nautilus).
Except for the home filesystem which is a special case (see here for full details), any trashed files are stored in a directory within the root directory of the filesystem they were deleted from, to avoid copying between filesystems.
The Trash folder is a virtual folder that should be a combination of those directories from every filesystem.
A subvolume is a separate filesystem. However, only mount points (e.g. those in /etc/mtab
) are actually checked for trash directories. A subvolume which is not mounted separately isn't searched.
As for workarounds, for a given subvolume SUBVOL, trying:
ln -s /mnt/btrfs/.Trash /mnt/btrfs/SUBVOL/.Trash
ln -s /mnt/btrfs/.Trash-1000 /mnt/btrfs/SUBVOL/.Trash-1000
to store the trash on the parent volume does not work.
But the existence of both symlinks (or just empty files of the same name) prevents the creation of the trash directories, so preventing trashing on that subvolume.
I have not found any real solution for this but i do have a work around that is slightly less annoying that browsing to the downloads folder on the other partition.. i created a softlink to the Downloads folder in the downloads folder... I know this sounds weird but it does not throw up the error when you go to the 2nd downloads folder and delete something.
So basically this happens:
browse to ~/Downloads (which itself is a softlink to the other partition)
click on the "Downloads" softlink in that folder (which basically links to itself)
now you can delete files without the annoying error. its one extra click but saves browsing the other partition.
Best Answer
For every mountpoint Ubuntu creates
.Trash
directory when a file is deleted.The
1000
is the UID of the user that created the bin, so every user can have their own.I think it is your choice. It just a bin folder, If you need a bin folder for your mount HD you can keep it.
If you want Ubuntu prevent creating this directory:
Don't use the delete button only (Otherwise the
.Trash-1000
folder will be created)Press the key combination Shift+Delete together to delete, then Ubuntu won't create a
.Trash-1000
folder.Note for 12.04: Under 12.04 i noticed that
.trash
directory recreated even if you deleted with Shift+DeleteNote: If you delete this directory files and folders this way they are gone forever