title: Can't install Magento due to permissions, what am I doing wrong?
body: <p>I've run the following commands on my Magento directory on Ubuntu Server.</p>
  
  <pre><code>chmod 0777 var/.htaccess
  chmod 0777 var
  chmod 0777 app/etc
  chmod -R 0777 media
  </code></pre>
  
  <p>However, now the Magento installer is still complaining with:</p>
  
  <pre><code>Path "/var/www/store/var/package" must be writable.
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>chmod 0777 var/package
  </code></pre>
  
  <p>With no luck.</p>
  
  <p>I've also tried <a href="http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions" rel="nofollow">this guide for resetting permissions</a>, still without any luck. What am I doing wrong?</p>