title: Can't find file: './ci/users.frm' (errno: 13)
body: <p>I installed LAMP on Ubuntu 11.04 and copy project from Windows.
  PHP directory (/ci/) to var/www/
  and 
  MySQL project directory (/ci/) to var/lib/mysql/</p>
  
  <p>Full text of error that i get:</p>
  
  <pre><code>A Database Error Occurred
  
      Error Number: 1017
      Can't find file: './ci/users.frm' (errno: 13)
      SELECT COUNT(*) AS `numrows` FROM (`users`) WHERE `email` = 'admin@localsite.com'
  </code></pre>
  
  <p>I googled that its permission problem, but don't know what do next.</p>
  
  <pre><code>Log from /var/log/mysql/error.log:
  
      110622 19:27:21 [ERROR] /usr/sbin/mysqld: Can't find file: './ci/users.frm' (errno: 13)
  </code></pre>