Skip to content

'chmod' equivalent in snapshot preview1? #766

@titzer

Description

@titzer

It appears that snapshot preview 1 does not have a way to change file permissions. This is important functionality for one of my use cases (a compiler that generates executables). This functionality does appear to be planned for the next version of wasi.

Is snapshot preview1 being updated? Is there interest in adding a chmod-like capability?

If so, I would propose a simple fs_chmod(fd: i32, mode: i32) function.

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