title: Lacking permissions to create folder in var/www
body: <p>I have recursively changed ownership of my www folder and everything in it to www-data:www-data. I am using the ubuntu user and have added myself to the www-data group and rebooted the server. I am getting the following error:</p>
  
  <pre><code>mkdir: cannot create directory 'dir_name': Permission denied
  </code></pre>
  
  <p>I can sudo mkdir, but from research it seems that if I have the right permissions then I should not have to sudo for mkdir. So I clearly lack the permissions, but I am not sure why, if I am in the correct group, as I am.</p>