Zsh: permission denied when using external drive in Terminal

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:

  1. Open Terminal.
  2. Type chmod +x and drag and drop the file that trigger the error to Terminal to get its file path.
  3. Hit Enter to execute the command.
  4. Try the original command again.