[GRADLE-796] Copy task should preserve file permissions Created: 12/Jan/10 Updated: 04/Jan/13 Resolved: 15/Feb/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.8 |
Fix Version/s: | 1.0-milestone-9 |
Type: | Improvement | ||
Reporter: | Adam Murdoch | Assignee: | Peter Niederwieser |
Resolution: | Fixed | Votes: | 3 |
Attachments: | build.gradle |
Comments |
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 ] |