vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
424 stars 42 forks source link

Can I allow access to things outside the jail? #131

Closed Amanita-muscaria closed 4 years ago

Amanita-muscaria commented 4 years ago

I recently installed linux-clear using my own module configuration. After trying for a while to figure out why the build wasn't able to find the requisite file despite it being in the correct location, I realized it was due to the build being in jail and the file being out of the jail. Is there a way to tell rua that it's cool to allow access to that file?

vn971 commented 4 years ago

Hi @Amanita-muscaria , this is what "wrap_args" are for. It's the arguments passed directly to bubblewrap, the security jail that does filesystem isolation (among other). See example in ~/.config/rua/.system/wrap_args.sh.example

Feel free to ask if you have any questions.

Amanita-muscaria commented 4 years ago

Oh, perfect. Thank you!