title: Can't create a file/directories in Ubuntu 11.10 even if rights are set correctly
body: <p>I'm affraid about something in ubuntu 11.10. I'm trying to give the write permission to the current user in a specific folder.
  So, at first, I'm cnanging the owner to give the propriety to my apache user on the default folder (/var/www).</p>
  
  <pre><code>sudo chown -R apache:apache /var/www
  </code></pre>
  
  <p>Then, I add my current use into the group apache.</p>
  
  <pre><code>sudo usermod -a -G apache ollie314
  </code></pre>
  
  <p>I check that the ollie314 has the correct rights :</p>
  
  <pre><code>groups ollie314
  &gt; ollie314 apache
  </code></pre>
  
  <p>OK !
  Now I check who am I.</p>
  
  <pre><code>whoami
  &gt; ollie314
  </code></pre>
  
  <p>Sounds good ...</p>
  
  <pre><code>cd /var/www
  mkdir test
  &gt; mkdir: cannot create directory `test': Permission denied
  </code></pre>
  
  <p>hum ...
  I made something wrong, but I don't know where. I suspect a pass through parent forlder issue but it works fine on my debian squeeze.
  Somebody can help me ?
  Thanks in advance !</p>