docs(wasi-tut): update error message (#6261)

This commit is contained in:
Max Große
2023-04-21 11:37:34 +02:00
committed by GitHub
parent d9e27c5441
commit 8078404a15

View File

@@ -182,7 +182,7 @@ Ok, this program needs some command-line arguments. So let's give it some:
```
$ echo hello world > test.txt
$ wasmtime demo.wasm test.txt /tmp/somewhere.txt
error opening input test.txt: Capabilities insufficient
error opening input test.txt: failed to find a pre-opened file descriptor through which "test.txt" could be opened
```
Aha, now we're seeing the sandboxing in action. This program is attempting to