From 516457ab00963e56fea49893a07972604a247855 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Fri, 15 Jan 2016 19:40:22 +0100 Subject: gwt-chromium fix permissions --- packages/gwt-chromium/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/gwt-chromium/build.gradle') diff --git a/packages/gwt-chromium/build.gradle b/packages/gwt-chromium/build.gradle index ce0ec6a..86db2db 100644 --- a/packages/gwt-chromium/build.gradle +++ b/packages/gwt-chromium/build.gradle @@ -12,6 +12,13 @@ task downloadChrome(type: DownloadTask) { task unpackChrome(type: Copy) { from zipTree(downloadChrome.destFile) into file("${buildDir}/unpacked/dist") + eachFile { FileCopyDetails fcd -> + // makes out of 06__ (_=don't care) 0655 + // means rwx______ => rwxr-xr-x + // or also r-x______ => r-xr-xr-x + def mode = fcd.mode >> 6 + fcd.mode = (mode << 6) | ((mode & 5) << 3) | mode & 5 + } } unpackChrome.dependsOn(downloadChrome) -- cgit v1.2.1