microsoft / microsoft/litebox

Reject O_CREAT | O_EXCL before backend open side effects

Open
#1,322 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.7k
Forks
144
Avg merge
12h 21m
Merged PRs (30d)
146

Description

The resolver currently invokes the backend open path before returning AlreadyExists for an existing O_CREAT|O_EXCL target. Backend-specific errors or side effects such as truncation can therefore occur before the exclusive-create result. Confirm the intended error precedence with the original fs author, then reject exclusive creation before backend open and add combined O_EXCL/O_TRUNC coverage. Deferred from #1318.

Contributor guide

Open the contributing guide

Research direction

Trace the resolver's backend open path and inspect how existing O_CREAT|O_EXCL targets are handled before backend side effects occur. Confirm the intended error precedence with the original fs author, then verify that exclusive creation is rejected before backend open and add coverage for combined O_EXCL/O_TRUNC behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.