ubuntu apache2.conf permission denied code example Example: ubuntu apache permission denied on directory sudo chown -R www-data:www-data dirPath