Skip to content

--target-dir results in failed to create directory /target/release #581

@giggio

Description

@giggio

Cross is running docker with --user, and when you use --target-dir it adds a volume mount from the directory to /target, like so:

docker run <...> -v mytargetdir:/target:Z <...>

The /target directory will be owned by root, and cross will fail to create anything there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions