Fixes permissions for /var/www on my Ubuntu machine
#!/usr/bin/env bash | |
chown -R www-data:www-data /var/www | |
chmod -R 660 /var/www | |
find /var/www -type d -exec chmod 770 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment