diff --git a/build-logic/src/main/kotlin/polaris-reproducible.gradle.kts b/build-logic/src/main/kotlin/polaris-reproducible.gradle.kts index 3b087f780c..036c482f46 100644 --- a/build-logic/src/main/kotlin/polaris-reproducible.gradle.kts +++ b/build-logic/src/main/kotlin/polaris-reproducible.gradle.kts @@ -22,4 +22,15 @@ tasks.withType().configureEach { isPreserveFileTimestamps = false isReproducibleFileOrder = true + + dirPermissions { unix("755") } + filePermissions { + // do not force the "execute" bit in case the file _is_ executable + user.read = true + user.write = true + group.read = true + group.write = false + other.read = true + other.write = false + } }