From 8078404a153118706b5bdbff5e6cfdb8ff9a3275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Gro=C3=9Fe?= <56630671+maxRN@users.noreply.github.com> Date: Fri, 21 Apr 2023 11:37:34 +0200 Subject: [PATCH] docs(wasi-tut): update error message (#6261) --- docs/WASI-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/WASI-tutorial.md b/docs/WASI-tutorial.md index d8e070e69a..40d4bbae73 100644 --- a/docs/WASI-tutorial.md +++ b/docs/WASI-tutorial.md @@ -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