title: How to adb chmod 750 on /sdcard using batch
body: <p>I am learning adb. Can someone please tell me why below chmod command isn't changing permissions on the dir on /sdcard? <em>It works fine in /data,</em> but I'm trying to test in /sdcard. Thanks for any help.</p>
  <pre><code>adb shell su -c &quot;chmod -R 750 /sdcard/path/to/dir&quot;
  </code></pre>
  <p>Current perms are <code>-rw- --- ---</code></p>
  <p>I am running command from a batch script.</p>
  <p>I am rooted and assume I don't need the su with sdcard, but have tried the following and they don't work either.</p>
  <ul>
  <li>adb chmod -R 750 /sdcard/path/to/dir</li>
  <li>chmod -R 750 /sdcard/path/to/dir</li>
  <li>adb shell &quot;chmod -R 750 /sdcard/path/to/dir&quot;</li>
  </ul>