Skip to content

Trybuild fails if Cargo.lock is read-only #310

@MingweiSamuel

Description

@MingweiSamuel

In the (admittedly unusual) situation where the Cargo.lock in a project is read-only, trybuild copies the file including the read-only permissions and later errors due to this:

Caused by:
  failed to open: ..../cargo-target/tests/trybuild/my-package/Cargo.lock

Caused by:
  Permission denied (os error 13)

Will make a PR to fix

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