From 9342fc41f5c63dc52393db2c5f7586e7cba93823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Mon, 9 Sep 2024 12:17:19 +0200 Subject: [PATCH 1/3] Fix build.gradle --- distribution/packages/build.gradle | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/distribution/packages/build.gradle b/distribution/packages/build.gradle index fbcdcd541fa51..6c0433e45d7ab 100644 --- a/distribution/packages/build.gradle +++ b/distribution/packages/build.gradle @@ -343,9 +343,14 @@ ospackage { // version found on oldest supported distro, centos-6 requires('coreutils', '8.4', GREATER | EQUAL) - - fileMode 0644 - dirMode 0755 + + + filePermissions{ + unix 0644 + } + dirPermissions { + unix 0755 + } user 'root' permissionGroup 'root' From 79f2745ab623bf5027e2a27dd9b079d0d569074b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Mon, 9 Sep 2024 12:18:49 +0200 Subject: [PATCH 2/3] Fix build.gradle --- distribution/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/distribution/build.gradle b/distribution/build.gradle index 835538ba3733c..1210e5b131deb 100644 --- a/distribution/build.gradle +++ b/distribution/build.gradle @@ -360,7 +360,9 @@ configure(subprojects.findAll { ['archives', 'packages'].contains(it.name) }) { versionFile = { copySpec { from(rootProject.file('VERSION')) - fileMode 0644 + filePermissions{ + unix 0644 + } } } From 858e2825d75ca87e9037c1d6798715fdb0960c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Mon, 9 Sep 2024 12:23:11 +0200 Subject: [PATCH 3/3] Undo changes --- distribution/packages/build.gradle | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/distribution/packages/build.gradle b/distribution/packages/build.gradle index 6c0433e45d7ab..fbcdcd541fa51 100644 --- a/distribution/packages/build.gradle +++ b/distribution/packages/build.gradle @@ -343,14 +343,9 @@ ospackage { // version found on oldest supported distro, centos-6 requires('coreutils', '8.4', GREATER | EQUAL) - - - filePermissions{ - unix 0644 - } - dirPermissions { - unix 0755 - } + + fileMode 0644 + dirMode 0755 user 'root' permissionGroup 'root'