title: How to change permission of internal folder/file in android?
body: <p>I wanted to get database file from the emulator. So, I tried to change the permission of package folder using <code>adb shell</code>. When I use the below command:</p>
  
  <pre><code>adb shell su -c chmod 777 /data/data/com.mypackage.test
  </code></pre>
  
  <p>It always returns: </p>
  
  <pre><code>Chmod: need 2 arguments
  </code></pre>
  
  <p>I have changed permission some days ago using above command. But recently I'm always getting the above warning. I have searched a lot and found large information regarding using above command but no one mentioned about this warning issue. </p>