zhanghai / zhanghai/MaterialFiles
SMB - Deleting folder causes an error (STATUS_ACCESS_DENIED)
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
SMB version: 4.21.4 (though this also happens on 4.19)
In an SMB share, create a folder. Then try to delete it.
Causes an error: STATUS_ACCESS_DENIED, followed by "Close failed for SMB2FileId". HOWEVER, the folder is deleted successfully.
Same flow works fine on other apps with the same credentials.
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 by reproducing the SMB folder deletion flow described for versions 4.21.4 and 4.19, then trace the delete and close-error handling. Done means the folder is deleted without reporting STATUS_ACCESS_DENIED or "Close failed for SMB2FileId".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100