Archives: June 2018

[PCManFM] Unable to find or create trash directory

This error happened when I tried to trash files located on a secondary drive, which is automatically mounted at startup in my /etc/fstab.

To fix this, I manually created a hidden .Trash-1000 folder at the root of the mounted folder, and made it belong to my user:

sudo mkdir /path-to-mounted-drive/.Trash-1000
sudo chown your-username .Trash-1000

1000 is the uid of my user. This is the default value but you can find yours with the id command:

$ id                                               
uid=1000(didier) gid=100(users) groups=100(users)[...]