Skip to content

Instantly share code, notes, and snippets.

@carlosleonam
Forked from rickhernandezio/permissions.sh
Created October 27, 2019 14:47
Show Gist options
  • Save carlosleonam/803095559a898e76b9b0fd249a5a6500 to your computer and use it in GitHub Desktop.
Save carlosleonam/803095559a898e76b9b0fd249a5a6500 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