[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread tstanly
hi, i change the mode for /data, chmod 777 /data it's work! but is there have threat for changoing directory mode?? thanks! On 7月20日, 下午2時04分, tstanly tsai.sta...@gmail.com wrote: hi all, use file class, file(/data).listfiles(); there is notiong can show, but use

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread Romain Guy
That would (potentially) allow any application to read and write the data of other applications. So yes, there's a threat. On Sun, Jul 19, 2009 at 11:23 PM, tstanlytsai.sta...@gmail.com wrote: hi, i change the mode for /data, chmod 777 /data it's work! but is there have threat for

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread Disconnect
/data only contains - on this running dream, with mostly standard firmware - a few directories, none of which are directly application related and all of which appear to be standard: drwxrwx--x shellshell 2009-05-28 19:49 local drwxrwx--x system system2009-05-28 19:49

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread David Turner
On Mon, Jul 20, 2009 at 4:14 PM, Disconnect dc.disconn...@gmail.com wrote: /data only contains - on this running dream, with mostly standard firmware - a few directories, none of which are directly application related and all of which appear to be standard: What is a mostly standard firmware

[android-developers] Re: why can't list files under /data ?

2009-07-20 Thread Disconnect
No, I'm running a modified Ion build actually. Are you saying that it would be different on some other device/image? I can flash and find out easily enough (yay nandroid). On Mon, Jul 20, 2009 at 10:19 AM, David Turner di...@android.com wrote: On Mon, Jul 20, 2009 at 4:14 PM, Disconnect