How can I make a file writable that is currently read-only?

John Zukowski

There is only support in Java to make a writable file read-only. There is no way to go the other way. I guess someone considered this a security risk so didn't add an appropriate API to perform.