Closed rgl closed 1 month ago
I think you mapped on the wrong direction, you probably want: wasmer run --mapdir /::. go-diskfs-create-fat32-img.wasm
.
Can you let us know if this fixed your issue?
@syrusakbary oh indeed, the mapping was swapped. thank you for spotting it! the way wasmer does this is different than docker and wastime, so I was completely oblivious about the error :-(
but still, it errors with the same Capabilities insufficient
error :-(
Describe the bug
With a go app opening a file with
os.ReadFile
fails withCapabilities insufficient
.The same app runs with wasmtime.
Steps to reproduce
Expected behavior
Expected it to work.
Actual behavior
Crashes with:
Additional context
This seems related with https://github.com/wasmerio/wasmer/issues/4259, but this issues reproduces the problem with a go application.