./pear: Permission denied
If your’re getting a permission denied error when trying to either upgrade or install an extension, chances are the permissions are off on your pear file. No worries – it’s a simple fix. SSH into the root directory of your Magento installation and type the following command:
chmod 550 pear

