Correct File Permissions for Magento 1.9x
These are the file permissions I set on a Magento 1.9 store after uploading the files, or when it starts throwing permission errors. Files and folders get ordinary permissions, and the folders Magento needs to write to (var, media and, during installation, app/etc) are made writable. This was written for Magento 1.9 in 2017. Magento 1 reached end of life in June 2020 and no longer gets official security patches, so if you still run it, plan a move to Magento 2 or to OpenMage, the community-maintained continuation of Magento 1. ...