Skip to content

Skip unresolvable entries (e.g dead symlinks) - #23

Merged
umago merged 1 commit into
mainfrom
broken-symlink
Jul 24, 2026
Merged

Skip unresolvable entries (e.g dead symlinks)#23
umago merged 1 commit into
mainfrom
broken-symlink

Conversation

@umago

@umago umago commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Dead symlinks and other non-existent entries caused bwrap to abort with an opaque "Can't find source path" error.

This fix add an os.Stat guard (matching the pattern already used by subPathMounts, shmMount, etc.) that skips broken entries with a warning to stderr so users are aware of the broken entries.

Fixes #11

Dead symlinks and other non-existent entries caused bwrap to abort with
an opaque "Can't find source path" error.

This fix add an os.Stat guard (matching the pattern already used by
subPathMounts, shmMount, etc.) that skips broken entries with a warning
to stderr so users are aware of the broken entries.

Fixes #11

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
@umago
umago merged commit ffe08d6 into main Jul 24, 2026
1 check passed
@umago
umago deleted the broken-symlink branch July 24, 2026 12:59
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.

Dead symlink issue

1 participant