Skip to content

wasi:filesystem - correct error when trying to escalate read permissions #911

Open

Description

@MendyBerger

In cases where a guest has a handle to a write-only descriptor (e.g. opened by setting only the write descriptor-flag), and tries to escalate permissions by calling open-at with the read flag, it's not clear what error should be returned.

Does it make sense to add a error write-only case to error-code similar to read-only?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-filesystemProposal: wasi-filesystem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions