Sync task from zipTree creates read only temporary files

When I use a sync task to unzip a war, it creates temporary read only files. This means that I can not run the task more than once without doing a clean. I previously created an issue for this at http://issues.gradle.org/browse/GRADLE-2356, but Hans suggested that I bring it up here too or it might fall through the cracks. This was not an issue with Milestone 8, but is a problem in the 1.0 version.

Anyone interested in working on this? Any ideas for an approach. Shouldn’t all the files generated under the build directory at least be writable by the current user? (0644 perhaps).