Share This Post

Certainly, the 403 error permission denied is quite a pain. As it doesn’t necessarily help identify what the true issue is, a person can be left wondering what broke on their site. Recently when working on a clients site we ran across this issue.

Any product images that were upload simply would not display. When trying to look directly at the image in the browser, the response was a 403 error.

After troubleshooting to see what was wrong, it was identified that whenever a new folder or file was being created the folder was given the incorrect permissions. As this is controlled by the PHP settings we looked at the index.php where this is typically set in Magento. Sure enough when setting the site to development mode somehow the line of code


had been compromised. By resetting this back to umask(0); we were able to verify that file & folders were now being created with correct permissions again. Upon verifying that, we simply needed to reset all files to permissions of 644 & all folders to permissions of 755. This can be done either through SSH or through an FTP program such as FileZilla.

More To Explore


“Strip your website down to the basics and do a few things really well.” – B C Designers


“If debugging is the process of removing software bugs, then programming must be the process of putting them in” – Edsger Dijkstra

Understanding how to pick the perfect WordPress theme and then how to customize that theme to your website’s specific needs is a crucial step in


“Design doesn’t mean that every person [is] gonna like, love it, but that’s the creativity of [an] eye which creates something different.” – Bijay Chhetri

Do You Want To Boost Your Business?

An image of three people in a meeting looking at laptops