title: Just a little confused on linux ownership
body: <p>I'm using Ubuntu 14.04 server and I just finished up configuring my forums, however I'm trying to install a new theme with for this software and think i have just about got it.</p>
  
  <pre><code>/var/www/html/styles# ls -al
  total 16
  drwxr-xr-x  4 www-data www-data 4096 Jul  6 14:06 .
  drwxr-xr-x 18 www-data www-data 4096 Jul  6 12:50 ..
  drwxr-xr-x  6 www-data root     4096 Jul  6 14:07 SE_Gamer_Dark
  drwxr-xr-x  4 www-data www-data 4096 Jul  6 11:28 prosilver`
  </code></pre>
  
  <p>Question: <code>drwxr-xr-x  6 www-data root     4096 Jul  6 14:07 SE_Gamer_Dark</code></p>
  
  <p>how do i change <code>root</code> in the above line? i thought this was file-permissions and needed a chown which i did : <code>chown www-data SE_Gamer_Dark</code>. This only however change the initial<br>
   <code>drwxr-xr-x  6 root root     4096 Jul  6 14:07 SE_Gamer_Dark</code> <strong>to the one you see,</strong> <br>
  <code>drwxr-xr-x  6 www-data root     4096 Jul  6 14:07 SE_Gamer_Dark</code></p>
  
  <p>As far as i know, the user "root" has the right to read and write this file, but i need www-data to be able to? I tried chmod aswell, but it didn't change the <code>root</code></p>