title: Mount shared folder (vbox) as another user
body: <p>I'm sorry to ask this in here, but I tried serverfault and didn't get any answer for 4 days.</p>
  
  <p>The related question there: <a href="https://serverfault.com/questions/394197/mount-shared-folder-vbox-as-another-user">https://serverfault.com/questions/394197/mount-shared-folder-vbox-as-another-user</a></p>
  
  <hr>
  
  <p><strong>Question:</strong></p>
  
  <p>I'm trying to mount my vbox shared folder every time my ubuntu (10.04) starts.</p>
  
  <p>So, I added an entry on /etc/init with this:</p>
  
  <pre><code>description     "mount vboxsf Desktop"
  
  start on startup
  
  task
  exec mount -t vboxsf Desktop /var/www/shared
  </code></pre>
  
  <p>Seems to work, except by the fact that all the files are owned by "root", and I don't have permission to write on the folder (neither chmod nor chown seems to be working).</p>
  
  <p>So, how can I make all the files under this shared folder to be owned by www-data user/group?</p>
  
  <hr>
  
  <p>ps.: The main reason for me to have an automatic shared folder, is so I can create/edit files from the HOST on the GUEST www folder.</p>
  
  <p>If you have a better idea for that, instead of sharing the folder, fell free to say.</p>