rust-lang / rust-lang/rustwide

Give a better error message when a directory cannot be removed

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
198
Forks
45
Avg merge
18h 46m
Merged PRs (30d)
7

Description

Right now, rustwide just says 'Permission denied' which isn't very helpful. It should say something like 'failed to remove directory 'xxxx': Permission denied'

Originally posted by @jyn514 in https://github.com/rust-lang/crater/pull/543#issuecomment-688285596

Contributor guide

No contributing guide indexed for this repository

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 by locating the rustwide code that removes directories and handles the “Permission denied” error. Check the existing error-handling tests, if present, and make the failure identify the directory while preserving the underlying error message.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.