Questions tagged [bwrap]
2 questions
5
votes
1 answer
bwrap execvp no such file or directory when ro-bind'ing non-root path
When I bind filesystem root it works
~> bwrap --ro-bind / / -- which which
/usr/bin/which
however when I bind non-root it fails
~> bwrap --ro-bind /usr /usr -- which which
bwrap: execvp which: No such file or directory
even though /usr/bin/which…
Nycta
- 153
- 1
- 5
2
votes
0 answers
Open new tab in bubblewrap'ed Firefox from outside the sandbox
For security reasons I want to sandbox my browser and so I came up with the following wrapper script to run Firefox inside a bwrap sandbox:
$ cat ~/.local/bin/firefox
#!/bin/sh
MYDISPLAY="${DISPLAY##*:}"
MYDISPLAY="${MYDISPLAY%%.*}"
/usr/bin/bwrap…
dirdi
- 3,137
- 14
- 34