Can’t chmod folder to write

In my apps (rooted devide), I want to chmod some files, folders to read and write. My code’s here: String path = “/mnt/sdcard/.android_secure”; String[] chmod = { “su”, “-c”,”chmod 777 “+path }; try {…