You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you try the latest main branch to see if the problem has already been fixed?
Tried, but the problem is still present
Describe the bug
On Linux, when trashing a file on a different drive it fails because it tries to trash. This is because it tries to trash the file at /run/.Trash-1000 instead of <MOUNTPOINT>/.Trash-<UID>. (i.e. if you have a drive mountained at /run/darkkronicle/cooldrive, it should trash in /run/darkkronicle/cooldrive/.Trash-1000
Error within yazi task:
Failed to work on this task: Error during a `trash` operation: FileSystem { path: "/run/.Trash-1000", kind: PermissionDenied }
Looking at trash-rs, the issue was it was selecting my /run directory as the top level mount. I have created a pull request to hopefully fix this Byron/trash-rs#97
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
Kitty v0.31.0
Yazi version
yazi 0.1.5 (e41266d 2024-01-13)
Did you try the latest main branch to see if the problem has already been fixed?
Tried, but the problem is still present
Describe the bug
On Linux, when trashing a file on a different drive it fails because it tries to trash. This is because it tries to trash the file at
/run/.Trash-1000
instead of<MOUNTPOINT>/.Trash-<UID>
. (i.e. if you have a drive mountained at/run/darkkronicle/cooldrive
, it should trash in/run/darkkronicle/cooldrive/.Trash-1000
Error within yazi task:
Related: #246 and Byron/trash-rs#57
Expected Behavior
When moving file to trash on a different drive, it should go to the correct trash folder, and not error out.
To Reproduce
$HOME
directory.d
to delete it.Configuration
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: