Add trash support to external mounted drive

In finishing my "migration to a new machine" process, since I kept my old ssd drive. However the trash on this drive was not working and deleting a file was always giving:

are you sure you want to permanently delete “xxx”?

I had 2 issues:
  • my user could not write on the root of the drive
  • my user could not write in the existing trash
The simplest was to own the drive

$ sudo chown xxx:xxx /media/xxxx

As I  have other user accessing the drive, I also has to change the permission

$ sudo chmod 0775 /media/xxxx

Popular posts from this blog

Fixing "DerInputStream.getLength(): lengthTag=109, too big" in Android Studio

Simple Samba setup on Lubuntu

Solving: insufficient permissions for device: user in plugdev group; are your udev rules wrong