Skip to content

fix: clear policy directory contents instead of removing mount point#48

Merged
antoniomtz merged 1 commit intomainfrom
fix/policy-clear-docker-mount
Apr 10, 2026
Merged

fix: clear policy directory contents instead of removing mount point#48
antoniomtz merged 1 commit intomainfrom
fix/policy-clear-docker-mount

Conversation

@antoniomtz
Copy link
Copy Markdown
Collaborator

shutil.rmtree on the storage directory fails with EBUSY in Docker because the bind-mounted directory is an active mount point. Delete the children individually so the operation works in both Docker and localhost environments.

Made-with: Cursor

shutil.rmtree on the storage directory fails with EBUSY in Docker
because the bind-mounted directory is an active mount point. Delete
the children individually so the operation works in both Docker and
localhost environments.

Made-with: Cursor
@antoniomtz antoniomtz added the bug Something isn't working label Apr 10, 2026
@antoniomtz antoniomtz merged commit 2e45a8d into main Apr 10, 2026
4 of 5 checks passed
@antoniomtz antoniomtz deleted the fix/policy-clear-docker-mount branch April 10, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant