Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Permissions for Mautic
cd /var/www/mautic
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod -R g+w app/cache/
chmod -R g+w app/logs/
chmod -R g+w app/config/
chmod -R g+w media/files/
chmod -R g+w media/images/
chmod -R g+w translations/
chown -R $USER:www-data .
@josaiasmoura

This comment has been minimized.

Copy link

josaiasmoura commented Apr 8, 2019

Thanks for sharing this, but I did need to make few changes before it work for me.
I'm using Mautic version 2.15.1 (latest release).

cd /var/www/mautic
mkdir app/spool/
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod -R g+w app/cache/
chmod -R g+w app/logs/
chmod -R g+w app/config/
chmod -R g+w media/files/
chmod -R g+w media/images/
chmod -R g+w translations/
chmod -R g+w app/spool/
chmod -R g+w themes
chown -R $USER:www-data .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.