From cea37819b8f9098283553b3729222a755c6c80b0 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 14 May 2020 15:52:53 +0100 Subject: [PATCH] Fix file permissions in the CLI's zip and tar distributions Fixes gh-21451 --- spring-boot-project/spring-boot-cli/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-cli/build.gradle b/spring-boot-project/spring-boot-cli/build.gradle index a00e3cdb6a..cc67ab55ce 100644 --- a/spring-boot-project/spring-boot-cli/build.gradle +++ b/spring-boot-project/spring-boot-cli/build.gradle @@ -131,10 +131,10 @@ def configureArchive(archive) { into "lib/" } archive.from(file("src/main/content")) { - eachFile { it.mode = it.directory ? 0x755 : 0x644 } + eachFile { it.mode = it.directory ? 0755 : 0644 } } archive.from(file("src/main/executablecontent")) { - eachFile { it.mode = 0x755 } + eachFile { it.mode = 0755 } } }