Created
December 1, 2020 09:36
-
-
Save nestorwheelock/74d87f52d2b4c90a1d7dc9df6ebca5ea to your computer and use it in GitHub Desktop.
Fix Mautic File Permissions after Install or Upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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