fixperms 271 B

12345678910
  1. #!/bin/bash
  2. echo "Correcting filesystem permissions..."
  3. ./bin/cli chown -R app:app /var/www
  4. ./bin/cli find media var -type f -exec chmod u+w {} \;
  5. ./bin/cli find media var -type d -exec chmod u+w {} \;
  6. ./bin/cli chmod u+x mage
  7. echo "Filesystem permissions corrected."