[GRADLE-796] Copy task should preserve file permissions Created: 12/Jan/10 Updated: 04/Jan/13 Resolved: 15/Feb/12
|Reporter:||Adam Murdoch||Assignee:||Peter Niederwieser|
|Comment by Jochen Hinrichsen [ 23/Dec/11 ]|
This feature is extremely helpful. The most annoying permission being lost during a copy is the executable flag. As of today, copying executables require painful and error prone postprocessing because the executable perm gets lost which means executables are downgraded to plain files.
JDK 7 supports POSIX permissions, so it's rather an implementation issue.
I've attached a unit test which fails for both JDK 6 and 7 invocations.
|Comment by Peter Niederwieser [ 15/Feb/12 ]|