Hey! I was going through the getting started guide: https://docs.dagger.io/quickstart/292472/arguments#pass-a-directory-as-argument and in this section when I run:
dagger -m github.com/vikram-dagger/daggerverse/fileutils call tree --dir=.
I get the following error:
✔ initialize 3.0s
✔ ModuleSource.asModule: Module! 0.9s
✔ Module.initialize: Module! 0.4s
✔ exec go build -o /runtime . 0.3s
✘ Host.directory(path: "/Users/arsh"): Directory! 0.0s
✔ upload /Users/arsh from Arsh-Sharma.local (client id: r9ip00evp2xwrlfxu5takft8p) 0.0s
Error: response from query: input: host.directory resolve: host directory /Users/arsh: error from sender: open /Users/arsh/.Trash: operation not permitted
Even running the command with sudo doesn't fix it. I guess it's a permissions issue because I'm trying to run it at /Users/arsh or is something else causing a problem?
Also if others faced this as well should we maybe add a note in the getting started guide about it? Like "Running this command in the home directory might cause an error" or something like that.
Thanks!