Skip to content

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

@MendyBerger

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?

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