Skip to content

Commit

Permalink
Fix one more deprecated permission api usage
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Jun 17, 2024
1 parent ec8baad commit 040ad63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion distribution/packages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ Closure commonPackageConfig(String type, boolean oss, boolean jdk, String archit
// ========= sysV init =========
configurationFile '/etc/init.d/elasticsearch'
into('/etc/init.d') {
fileMode 0750
filePermissions {
unix(0755)
}
fileType CONFIG | NOREPLACE
from "${packagingFiles}/init.d/elasticsearch"
}
Expand Down

0 comments on commit 040ad63

Please sign in to comment.