RemoveDirectoryRecursive fails if directory has read-only attribute
Open
Nobody has claimed this yet.
feature-request
- Dominant language
- C++
- Stars
- 3k
- Forks
- 300
- Avg merge
- 19h 12m
- Merged PRs (30d)
- 1
Description
- Create some directory and set read-only attribute.
- Create some sub-directories files in that directory.
- Call RemoveDirectoryRecursive.
- Observe ERROR_ACCESS_DENIED.
Contributor guide
No contributing guide indexed for this repository
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 at the RemoveDirectoryRecursive entry point and reproduce the reported sequence on Windows: create a read-only directory containing files and subdirectories, then call the function. Trace the recursive removal behavior; done means the call succeeds without ERROR_ACCESS_DENIED and removes the directory tree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100