While using Terminal, I get the error “zsh: permission denied: external address.” I tried different solutions but none of them worked. I even reformatted the drive, but the error still persists. The drive is not locked. I have read/write access and there’s no other users. I can’t figure out why I’m keeping getting this error. Can somebody help?
To fix the error “zsh: permission denied,” you need to modify the permission of the file and make it executable. Take the steps below:
- Open Terminal.
- Type chmod +x and drag and drop the file that trigger the error to Terminal to get its file path.
- Hit Enter to execute the command.
- Try the original command again.