On Thursday, March 1, 2012 12:51:08 PM UTC-5, Upendra wrote:
>
> HI, 
> I tried to give the shell commands from android java using exec and it 
> works fine for ls and mkdir commands but it is not working for mount 
> and chmod commands. Even I tried to run scripts from java but that is 
> also not running.


Anything you exec would normally run as the same userid as the android app. 
 That userid almost certainly lacks permission to mount filesystems, and 
probably is not the owner of the file you want to chmod.  Also be aware 
that toolbox's chmod takes numeric arguments only. 

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to