Skip to content

ostree find-remotes requires write access to repository even if not pulling #3585

@bauen1

Description

@bauen1

Run:

ostree find-remotes foo bar
error: Cannot write to repository: Permission denied


# Same for:
ostree find-remotes foo
ostree find-remotes

ostree find-remotes will error before even trying to validate the argument count.

And I don't see an immediate reason, why the act of only searching without actually pulling, should require write access to the repository.

This might be related to the undocumented --cache-dir option #1415

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions