Skip to content

Wrong identification of trash folder on non-main volumes #1

@eugenesvk

Description

@eugenesvk

It seems that pathlib's Path.home() is wrong when used for non-main volume paths, it still gives you the main volume path, so when you try to trash files from non-main volumes, you get an error OSError: [Errno 18] Cross-device link instead of moving the files to the corresponding volume-local trash folder
(which I think is /Volumes/Volume_name/.Trashes/user_id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions