hi,
 I have  not been able to run a shell script in the  android phone
.Actually i have to change the mode to root by issuing su command, but when
the user changes to normal user($) to root (#) the further commands never
gets executed.
Following is my shell script which I have pushed into the /data/ folder
whcih is tryning to change the permission of test.text.

#!/bin/sh
su
cd /data
chmod 777 test.text


But the scripts fails to execute after su.i am doing it using teh system()
command in the native c code in the android application.

Plz suggest other way !
Rgds
saurabh




"..pain is temporary.....quitting lasts forever......"

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to