Terminal error: zsh: permission denied: ./startup.sh

前端 未结 3 1014
忘了有多久
忘了有多久 2020-12-17 07:45

I am running a command ./startup.sh nginx:start and I am getting this error message zsh: permission denied: ./startup.sh why could this be happenin

3条回答
  •  再見小時候
    2020-12-17 08:13

    Starting with macOS Catalina, Your Mac uses zsh as the default login shell and interactive shell. You can make zsh the default in earlier versions of macOS as well.

    How to change your default shell Whether your user account is configured to use zsh (recommended), bash, or another shell, you can change the default shell from Users & Groups preferences or the command line.

    1. From Users & Groups preferences
    2. Choose Apple menu  > System Preferences, then click Users & Groups.
    3. Click the lock , then enter your account name and password.
    4. Control-click your user name in the list of users on the left, then choose Advanced Options.
    5. Choose a shell from the ”Login shell” menu, then click OK to save the changes.

    Follow link for more details - https://support.apple.com/en-in/HT208050

提交回复
热议问题