Fix Webserver File and Folder Permissions

After a recent Mautic update, I resolved an issue where there were too many redirects. Then I ran into an issue – The site is currently offline due to encountering an error… which the error was permissions.

… So I checked what apache was running as:

Then I fixed my webserver file and folder permissions:

CMD# find /usr/local/www/apache24/data/mautic -type d -exec chmod 755 {} \;
CMD# find /usr/local/www/apache24/data/mautic -type f -exec chmod 644 {} \;
CMD# chown -R www:www /usr/local/www/apache24/data/mautic

Leave a Reply

Your email address will not be published. Required fields are marked *