title: select * into outfile not working even for root
body: <p>When I run</p>
  
  <pre><code>mysql&gt; select * into outfile "/home/akihirom/file1.txt" from BAIT_INTERACTION;
  </code></pre>
  
  <p>I get the following error:</p>
  
  <p>ERROR 1 (HY000): Can't create/write to file '/home/akihirom/file1.txt' (Errcode: 13)</p>
  
  <p>This happens even as root, in mysql or on the system itself. Does anyone know why this may be happening?  Thanks</p>