about Runtime.getRuntime().exec

by tstanly » Thu, 20 Aug 2009 12:11:03 GMT


Sponsored Links
 hi all,


I am use the command:
Runtime.getRuntime().exec("chmod 777 /data");


but still not to change the file mode?


why fail?

thanks
--~--~---------~--~----~------------~-------~--~----~



about Runtime.getRuntime().exec

by Dianne Hackborn » Thu, 20 Aug 2009 13:19:10 GMT


 Apps don't have permission to change /data.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. SocketChannel, broken pipe exception - Cupcake only

Hello :)

I'm currently writing an application to communicate with my server app
which is on a PC on the LAN. I'm using a SocketChannel and it causes
an IO exception (broken pipe). The weird and really problematic part
is that this exception only occurs on Cupcake !!!

To give more details, the exception happens when I'm writing on the
socket channel. The socket channel says that it's connected / bound,
everything seems to be correct. Plus I see my client on the server
side.
By the way, I use a non blocking socket.

So, I would be very happy if anyone had a clue regarding this ... I
couldn't find any help anywhere else.

Thanks,

Morgane

-- 

2. Intisari untuk id-android@googlegroups.com - 25 Pesan pada 5 Topik

Jadi pengen pusing *njomplang

Regards. Adri

-sent from my google powered device #android-




Langganannya jgn digest, om.. klopun tetep mo digest, jgn reply ke
digest-nya, hehe..
Mendingan compose dari googlegroups-nya, jgn lewat email.. kan jd ga tau mo
ngebales email yg mana.. :)

Thx..

..nexus...@cyanogenmod-5.0.6..





-- 
"Indonesian Android Community [id-android]" 

3. want to draw over a changing solid-color background

4. Code executing out of order?

5. Extended Nexus On

6. Activities and ListActivities with button and lists

7. Hi Question about menu