WebAssembly / WebAssembly/WASI

Describe change-file-permissions-at in more detail

Open
#762 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P-filesystem S-inactive
Dominant language
Rust
Stars
5.8k
Forks
333
Avg merge
2d 13h
Merged PRs (30d)
3

Description

change-file-permissions-at is vague about what it precisely does. This is necessary to some degree, due to differences between host operating systems. But it should at least say what it does on Unix and probably also Windows.

My rough idea when I proposed this function was that on Unix it would follow the user's umask. The umask is commonly 02, which means readable would be world-readable, writeable would be user/group-writeable, and executable would be world-executable.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the current documentation for change-file-permissions-at and review how its behavior is described for Unix and Windows. Clarify the Unix umask behavior and document the platform differences; done means the function's permissions behavior is precise enough for users to understand.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, operating-systems
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.