You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing a compiled binary from any path that is not the same as the current working directory when invoking deno compile returns a permission error even when the permission flags have been set. This started to happen since Deno 1.42.
$ ./bin/a.out
No such file or directory (os error 2): readfile 'a.txt'
$ cd bin && ./a.out
No such file or directory (os error 2): readfile 'a.txt'
Actual output:
$ ./bin/a.out
No such file or directory (os error 2): readfile 'a.txt'
$ cd bin && ./a.out
Requires read access to "a.txt", run again with the --allow-read flag
The text was updated successfully, but these errors were encountered:
Executing a compiled binary from any path that is not the same as the current working directory when invoking
deno compile
returns a permission error even when the permission flags have been set. This started to happen since Deno 1.42.Minimal reproducible example:
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: