troppes / portable-container-engine

A small container engine to download and run docker images locally
1 stars 1 forks source link

Fix Rights Issue #1

Closed troppes closed 10 months ago

troppes commented 10 months ago

panic: fork/exec /bin/sh: permission denied

goroutine 1 [running]: github.com/troppes/portable-container-engine/internal/util.Must(...) /home/flo/projects/container-runtime/internal/util/util.go:5 github.com/troppes/portable-container-engine/internal/runtime.CreateChildProcess({0x7ffff0e7bebe, 0x2b}, {0xc000122030?, 0x1, 0x1}) /home/flo/projects/container-runtime/internal/runtime/container.go:58 +0x2b7 main.main() /home/flo/projects/container-runtime/cmd/pce/main.go:36 +0x145 panic: exit status 2

goroutine 1 [running]: github.com/troppes/portable-container-engine/internal/util.Must(...) /home/flo/projects/container-runtime/internal/util/util.go:5 github.com/troppes/portable-container-engine/internal/runtime.Run({0x4416bc?, 0xc0000061a0?}, {0xc000124030?, 0x1?, 0xc0000061a0?}) /home/flo/projects/container-runtime/internal/runtime/container.go:35 +0x345 main.main() /home/flo/projects/container-runtime/cmd/pce/main.go:34 +0x85 exit status 2

troppes commented 10 months ago

fixed by setting more open permissions