nodeSolidServer / nodeSolidServer/node-solid-server
.acl files not deleted, become unfindable
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
If I delete a file /foo/bar.txt that is controlled by /foo/bar.txt.acl, the .acl file does not get deleted. It becomes invisible because without being able to query /foo/bar.txt's link header, there's no way to know where its .acl should be and .acl files are not discover-able with a GET on a container. This now-unfindable file then prevents us from deleting it's container /foo/ since the container is non-empty and returns 409 on attempt to delete it even though it "looks" empty.
Contributor guide
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
Trace the JavaScript resource-deletion path for a file with a corresponding .acl file, then inspect how container emptiness is determined. Reproduce deletion of /foo/bar.txt and confirm that its /foo/bar.txt.acl is removed or otherwise handled, and that /foo can subsequently be deleted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100