I usually use bash, but would sometimes go to zsh (with oh-my-zshell) by typing zsh. I've noticed something interesting.

I have a script, sss.sh - that shell script refers to a .pem file in an ssh command. while in bash that file is accessed correctly when the script runs, but in zsh I'm getting permission problem for this file. I'm running the same user for both cases. Why am I getting a permission issue in zsh but not in bash?

  • 1
    Please post the full error message and an MCVE version of the script. – wjandrea May 30 '18 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.