Your most likely encounter with a “Permission Denied” error is if you try to install a program or modify a file that’s locked — either because you’re not an administrator, or because the owner of the file used chmod to lock the file.
Read moreHow do I enable zsh on my Mac?
Hold the Ctrl key, click your user account’s name in the left pane, and select “Advanced Options.” Click the “Login Shell” dropdown box and select “/bin/bash” to use Bash as your default shell or “/bin/zsh” to use Zsh as your default shell. Click “OK” to save your changes.
Read moreHow do I fix permissions denied on Mac?
Go to Security & Privacy. In the Security & Privacy window go to the Privacy tab then click the Padlock at the bottom left. Enter the administrator User Name and Password then click Unlock. In the left pane you’ll find the services and devices you can grant or deny access to for the apps in the right pane.
Read moreHow do I allow permission to access?
Setting Permissions
Read moreHow do I enable denied permissions?
Change app permissions
Read more