I have inherited some code:
Process p = new ProcessBuilder(\"/bin/chmod\", \"777\", path).start(); p.waitFor();
Basically, there is for som
If you're using JAVA 6, you could also try the new setters (for read,write,execute) on the File object. Might be slower, but it should work.