title: Android Device manager : "transfer error: Permission denied"
body: <p>I am trying to pull my applications databases files, I can see that I have all the permissions in the database file "-rwxrwxrwx", which I provided by chmod -r 777 /data/data/com.example.myapp, but I am not able to, I constantly get the above error when I try to pull it and moreover the device manager keeps crashing.</p>
  
  <p>The error that I get:</p>
  
  <blockquote>
    <p>[2015-07-19 19:48:44 - ddms] transfer error: Permission denied</p>
    
    <p>[2015-07-19 19:48:44] Failed to pull selection: Permission denied</p>
  </blockquote>
  
  <p>I am using Android Studio, my device has root access and I am on a mac.</p>
  
  <p>This is what I am trying to pull:</p>
  
  <p><img src="https://i.stack.imgur.com/HIGid.png" alt="enter image description here"></p>
  
  <p>Edit: When I run the following command I get this error <code>Package 'com.example.hackbot' has corrupt installation</code> :</p>
  
  <pre><code>run-as com.example.hackbot chmod /data/data/com.example.hackbot/databases/HackBotDB
  </code></pre>
  
  <p>Any help is valuable.</p>
  
  <p>Cheers</p>