Using Java how could I manipulate the access permissions of a file in Windows?
The new Java 7 java.nio.file.attribute package makes all of this a lot easier. It provides views onto the complete set of file attributes, including Posix file permissions.