Skip to content

Commit

Permalink
oci image > use default "other" file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Nov 27, 2024
1 parent acf5350 commit ca6e24c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,12 @@ oci {
layers {
layer("hivemqExtension") {
contents {
permissions("opt/hivemq/", 0b111_111_000)
permissions("opt/hivemq/extensions/", 0b111_111_000)
permissions("opt/hivemq/", 0b111_111_101)
permissions("opt/hivemq/extensions/", 0b111_111_101)
into("opt/hivemq/extensions") {
filePermissions = 0b110_100_000 // TODO remove, use default
directoryPermissions = 0b111_101_000 // TODO remove, use default
permissions("*/", 0b111_111_000)
permissions("*/dnsdiscovery.properties", 0b110_110_000)
permissions("*/hivemq-extension.xml", 0b110_110_000)
permissions("*/", 0b111_111_101)
permissions("*/dnsdiscovery.properties", 0b110_110_100)
permissions("*/hivemq-extension.xml", 0b110_110_100)
from(zipTree(tasks.hivemqExtensionZip.flatMap { it.archiveFile }))
}
}
Expand Down

0 comments on commit ca6e24c

Please sign in to comment.