did you try it using super user. On Thu, Aug 26, 2010 at 12:25 PM, Geetha <geetha.arumug...@gmail.com> wrote:
> Hi Deva, > Thanks for your reply. I tried 'chmod 777 /system/bin/ifconfig but > still I am facing same permisssion denied problem. Could you please > reply me immediately. > > Thanks, > Geetha > > On Aug 26, 1:29 am, Deva R <r.deva...@gmail.com> wrote: > > try 'chmod 777 <file>' for the file you are accessing via ioctl., > > > > On Wed, Aug 25, 2010 at 1:31 PM, Geetha <geetha.arumug...@gmail.com> > wrote: > > > Hi, > > > I am Geetha developing android jni ioctl application.I am trying to > > > set eth0 IP address from my program and getting "permission denied" > > > for the SIOCSIFADDR. Can you please help me to resolve this problem. > > > > > Thanks, > > > Geetha > > > > > -- > > > unsubscribe: > > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > <android-porting%2bunsubscr...@googlegroups.com<android-porting%252bunsubscr...@googlegroups.com> > > > > > website:http://groups.google.com/group/android-porting > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting