Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.