Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix ngrok permission denied?

I've installed ngrok and created an alias in my user folder. When I run the following command

./ngrok authtoken tokenhere

I get

./ngrok: Permission denied

Is there somewhere I need to set permissions?

like image 305
Rickchip Avatar asked Oct 20 '25 18:10

Rickchip


2 Answers

I fixed this by moving the ngrok exe to the /usr/local/bin folder.

like image 131
Rickchip Avatar answered Oct 23 '25 08:10

Rickchip


I was getting the Permission denied error message because I was running the command from a folder that only had a shortcut to ngrok instead of the actual executable. Silly mistake, but figured I would post in case anyone else does the same thing.

like image 32
emma Avatar answered Oct 23 '25 08:10

emma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!