WebAssembly / WebAssembly/WASI
[v0.3] specify whether hard links work on directories?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 333
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 3
Description
POSIX allows for hard links between directories, and also allows the implementation to forbid them: https://pubs.opengroup.org/onlinepubs/009696699/functions/link.html
Linux forbids them, AFAIU.
Should WASI say anything more? For info, Wasmtime currently fails link-at with EPERM on my Linux machine https://man7.org/linux/man-pages/man2/link.2.html#ERRORS, when attempting to make a hard link to a directory.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the referenced POSIX link specification and Linux link(2) documentation, then compare them with WASI's current link-at behavior. The work is done when the WASI specification clearly states whether hard links to directories are supported, forbidden, or implementation-defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- operating-systems
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100