Skip to content

Conversation

@la-j
Copy link

@la-j la-j commented Jan 14, 2026

Reason

Running srt generates empty dotfiles (.bashrc, .gitconfig, etc.) in working directory. Bubblewrap's --ro-bind /dev/null /path creates empty files on host as mount points that persist after sandbox exits.

Description

  • Skip non-existent deny paths instead of mounting /dev/null over them
  • Remove findFirstNonExistentComponent() function (dead code)
  • Remove non-existent deny path protection tests

Fixes #85

Mounting /dev/null over non-existent paths creates empty files on host.
Skip non-existent deny paths instead of mounting /dev/null over them.

Removed:
- Non-existent path protection code that created empty files
- findFirstNonExistentComponent() function
- Non-existent deny path protection tests

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

srt generates dotfiles and directories on command execution

1 participant