Questions tagged [bwrap]

3 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
3
votes
1 answer

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,317
0
votes
1 answer

"bwrap: execvp make: No such file or directory" when calling "opam install camlidl.1.12"

I tried to install the package camlidl in a new Ubuntu 22 virtual machine with the usual OCaml package install command: $ opam install camlidl.1.12 But I got the following error message, which I had never seen before: [ERROR] The compilation of…