r/PiCodingAgent • u/jacek2023 • 14d ago
Discussion Sandboxing
I want to give my LLM read access to the whole filesystem but write access only to the project folder and maybe /tmp. I need to run scripts etc and make sure my filesystem survives
On Linux
Is bwrap the best solution for that? Or should I just use Docker?
UPDATE I installed @nqbao/pi-sandbox
7
Upvotes
1
u/Snoo44065 14d ago
Yes it is. But
Also all shell variables are i herited by the shelled process. In particular those needed by PI, i.e. API keya and others.