Skip to content

CLI: "wasmer package download" fails if tmp dir is not on same partition #4945

Open
@theduke

Description

@theduke

wasmer package download my/package without a -o with default to creating a temporary file, probably with the tempfile crate.

If the default tmp directory is on a different partition than the current directory, then the download will fail when renaming the temp file:

error: could not persist temporary file to '/home/theduke/dev/github.com/wasmerio/edge/[email protected]'
│   1: failed to persist temporary file: Invalid cross-device link (os error 18)
╰─▶ 2: Invalid cross-device link (os error 18)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingedge-cli

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions