Added Ubuntu support and explicit permissions for webroot