Runtime.getRuntime().exec("/bin/chmod 777 <filePath>") ; Does not work
807603Nov 12 2007 — edited Nov 12 2007Does anyone know why the following does not work?
String path = file.getAbsolutePath();
path = path.replaceAll(" ","\\\\ ");
Runtime.getRuntime().exec("/bin/chmod 777 "+path); would not work? It's on OSX.
Thanks