You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux bwrap fails when protected symlinked carveout points outside writable roots (No such file or directory) #17079
Linux sandbox startup can fail when a protected read-only carveout path (for example .git) is a symlink under a writable root and that symlink points to an absolute target outside writable roots.
changed the title [-]Linux bwrap fails when protected symlinked carveout points outside writable roots ()[/-][+]Linux bwrap fails when protected symlinked carveout points outside writable roots (No such file or directory)[/+]on Apr 8, 2026
This report observed a different concrete failure string for the same masking pattern:
--ro-bind /dev/null <symlinked-protected-path>
error: No such file or directory
Repro context here also differs slightly:
writable root canonicalized under /var/tmp/src-builds/...
protected .git symlink pointing to an absolute target outside writable roots.
That said, this could still be the same underlying class of bug (file-style /dev/null masking on symlinked carveouts) with a different filesystem/layout-dependent error message.
If maintainers believe the existing fix/work in #15725 (or prior fixes around #16161) fully covers this case, this issue can be closed as duplicate. I’m keeping this open only to preserve the No such file or directory variant and exact mount argv seen in logs.
Activity
[-]Linux bwrap fails when protected symlinked carveout points outside writable roots ()[/-][+]Linux bwrap fails when protected symlinked carveout points outside writable roots (No such file or directory)[/+]github-actions commentedon Apr 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
bwrap: .../.git: Is a directory) #16161Powered by Codex Action
rebroad commentedon Apr 8, 2026
Clarifying why this may or may not be distinct from #15725 / #16161:
bwrap: .../.git: Is a directory) #16161 both center onbwrapfailing withIs a directoryfor symlinked protected carveouts.--ro-bind /dev/null <symlinked-protected-path>No such file or directory/var/tmp/src-builds/....gitsymlink pointing to an absolute target outside writable roots.That said, this could still be the same underlying class of bug (file-style
/dev/nullmasking on symlinked carveouts) with a different filesystem/layout-dependent error message.If maintainers believe the existing fix/work in #15725 (or prior fixes around #16161) fully covers this case, this issue can be closed as duplicate. I’m keeping this open only to preserve the
No such file or directoryvariant and exact mount argv seen in logs.viyatb-oai commentedon Apr 8, 2026
being fixed in #15981
fix(permissions): fix symlinked writable roots in sandbox permissions (…
fix(permissions): fix symlinked writable roots in sandbox permissions (…