Report more specific permissions errors
- Dominant language
- Rust
- Stars
- 175
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
When initializing a project, if the CLI runs into permissions errors trying to write to directories not owned by the current user, we return just a "Permission error (os 13)" (on macOS). More details here would help end users find the offending directories and rectify permissions issues more easily.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing project initialization on macOS with a directory the current user cannot write to, then trace where the CLI turns the operating-system error into the generic permission message. The work is done when the error identifies the offending directory or directories and the existing initialization behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100