diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-04-11 20:01:54 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-04-11 20:01:54 +0900 |
| commit | ae6f5ede1928c9d0a2d480b6a924914e8599529f (patch) | |
| tree | e9f4c57f0c22fad5459b19157f416c50948e33bc /fst | |
| parent | 807d511c8b87b9a173bd89ee49c73330fa8b93c7 (diff) | |
fst: mount passthrough /dev writable
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'fst')
| -rw-r--r-- | fst/sandbox.go | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
