Why AI agents can't mount filesystems: sandboxing keeps kernel privileges out

remilouf · x · 2026-12-02

Answering "isn't mount a bash command?", @remilouf explains that mount is a program kept outside the agent's restricted sandbox; even if the agent compiled its own binary, mounting is a kernel privilege the sandbox doesn't (and shouldn't) have — restricting available programs plus withholding kernel privileges forms the security boundary against filesystem tampering.

Original post →

More from coding & agent

coding & agent channel →