title: How to set permissions using chmod
body: <p>I recently found a way to maintain root access on my android device using a dropbear SSH server that I modified to run at boot as root using init.d, a lil scripting magic &amp; some config scripts I made. If you want you can check it out <a href="http://goo.im/devs/Geofferey/Android%20Scripting%20Projects/persist_droid_sshd/v1.0/Universal-Flasher" rel="nofollow">here</a>... Anyways for an experiment I removed the su binary and Superuser.apk from the system. I've managed to get them copied back to the system, but I don't know how to set the appropriate permissions for the su binary. If I look in Super User app on another rooted phone and go to update, it shows <code>-rwsr -sr-x</code> as the permissions on the binary. How can I set these same permission manually &amp; what do they mean? Specifically the s part.</p>