trashy icon indicating copy to clipboard operation
trashy copied to clipboard

Error on `empty` when symlink to unmounted drive present

Open fmorroni opened this issue 11 months ago • 1 comments

I accidentally created some symlinks to images in a mounted drive. I deleted them with trashy put. Unmounted the drive and forgot about it. Now I'm trying to empty the trash but I get the error:

error: Error during a `trash` operation: FileSystem { path: "~/.local/share/Trash/files/IMG_20240310_220717_1.jpg.2", kind: NotConnected }

The file ~/.local/share/Trash/files/IMG_20240310_220717_1.jpg.2 is a symlink to an image in the unmounted drive.

I compiled from source and there hasn't been any changes since, so trashy is up to date (v 2.0.0)

fmorroni avatar Mar 18 '24 15:03 fmorroni

May be related to https://github.com/oberblastmeister/trashy/issues/89

fmorroni avatar Mar 18 '24 15:03 fmorroni