Bind Mount Won't Let Me Move to Trash

I spent a lot of hours trying to figure out how to mount a directory from a mounted partition to a directory in my Home directory. While I did get this to work for the most part, I noticed that I can't move items to trash, it just says that I can delete permanently.

The reason that I'm even trying this is that there are so many applications that won't acknowledge mounted drives, and I do like the idea of being able to create that alias/shortcut approach to my music, pictures, etc. folders (which is soooo much easier in Windows).

Naturally I start with mounting the partition, then I mount with the bind option in the target folder. Is not being able to recycle intentional?

I took the advice of someone on an Arch Linux forum and this seems to work.

  • Create a directory name “.Trash” at the top level of a given filesystem.
  • Set sticky bit on it.
  • Give all relevant users permissions to that directory.

Sticky bit?

  • Open the terminal.
  • Use the command chmod +t /path/to/directory to set the sticky bit on the specified directory.
  • You can verify the setting by using ls -ld /path/to/directory to check if the sticky bit is represented as a 't' in the permissions.
  • If you need to remove the sticky bit, use the command sudo chmod -t /path/to/directory .
  • Do not taunt the Sticky Bit*

More info on Sticky Bit

*I just made that up....