From ae6f5ede1928c9d0a2d480b6a924914e8599529f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 11 Apr 2025 20:01:54 +0900 Subject: fst: mount passthrough /dev writable Signed-off-by: Ophestra --- fst/sandbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fst') diff --git a/fst/sandbox.go b/fst/sandbox.go index 0cc37908..194fcb76 100644 --- a/fst/sandbox.go +++ b/fst/sandbox.go @@ -138,7 +138,7 @@ func (s *SandboxConfig) ToContainer(sys SandboxSys, uid, gid *int) (*sandbox.Par if !s.Device { container.Dev("/dev").Mqueue("/dev/mqueue") } else { - container.Bind("/dev", "/dev", sandbox.BindDevice) + container.Bind("/dev", "/dev", sandbox.BindWritable|sandbox.BindDevice) } /* retrieve paths and hide them if they're made available in the sandbox; -- cgit v1.3.1