Skip to content

Instantly share code, notes, and snippets.

@leokovaski
Forked from rickhernandezio/permissions.sh
Created June 19, 2018 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leokovaski/bcc48d5724790bedbad99976fbd1e3ff to your computer and use it in GitHub Desktop.
Save leokovaski/bcc48d5724790bedbad99976fbd1e3ff to your computer and use it in GitHub Desktop.
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 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment