Skip to content

Instantly share code, notes, and snippets.

@nestorwheelock
Created December 1, 2020 09:36
Show Gist options
  • Save nestorwheelock/74d87f52d2b4c90a1d7dc9df6ebca5ea to your computer and use it in GitHub Desktop.
Save nestorwheelock/74d87f52d2b4c90a1d7dc9df6ebca5ea to your computer and use it in GitHub Desktop.
Fix Mautic File Permissions after Install or Upgrade
#!/bin/sh
read MPATH "What is the path to the installation?"
find $MPATH -type d -exec chmod 755 {} \;
find $MPATH -type f -exec chmod 644 {} \;
chown -R www:www $MPATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment