denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
93.39k stars 5.18k forks source link

error: Permission denied (os error 13) #21288

Open ethic-233 opened 7 months ago

ethic-233 commented 7 months ago

When I run deno install --allow-read --allow-net --unstable https://deno.land/x/oak/mod.ts It will say this.

irbull commented 7 months ago
Screenshot 2023-11-21 at 7 57 54 AM

I guess we'll need a bit more information such as Deno version, OS and the error message you're seeing. This works fine for me on MacOS Deno 1.38.1.

raja-OX commented 1 month ago

I also get this error when i run the command.

deno install -g -A jsr:@deno/deployctl

I am using Ubuntu 22.04.4 LTS

deno version is 1.43.6

lucacasonato commented 3 weeks ago

@raja-OX Can you run ls -la ~/.deno/bin/ and paste the result here?

raja-OX commented 3 weeks ago

@raja-OX Can you run ls -la ~/.deno/bin/ and paste the result here?

ls -la ~/.deno/bin/

total 131240
drwxrwxr-x 2 oxss-081 oxss-081      4096 May 22 19:35 .
drwxrwxr-x 3 oxss-081 oxss-081      4096 Feb 25  2023 ..
-rwxr-xr-x 1 oxss-081 oxss-081 134377288 May 22 05:44 deno