This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 3694baabb [#4478] feat(conf): unify the configuration file permission
to 755 (#4479)
3694baabb is described below
commit 3694baabbf7618f41e6fd4a69981c3c368d11f21
Author: FANNG <[email protected]>
AuthorDate: Mon Aug 12 14:08:05 2024 +0800
[#4478] feat(conf): unify the configuration file permission to 755 (#4479)
### What changes were proposed in this pull request?
change some configuration file permission from 644 to 755
### Why are the changes needed?
Fix: #4478
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
check the permission
---
catalogs/catalog-hadoop/build.gradle.kts | 2 ++
catalogs/catalog-hive/build.gradle.kts | 2 ++
catalogs/catalog-jdbc-doris/build.gradle.kts | 2 ++
catalogs/catalog-jdbc-mysql/build.gradle.kts | 2 ++
catalogs/catalog-jdbc-postgresql/build.gradle.kts | 2 ++
catalogs/catalog-kafka/build.gradle.kts | 2 ++
catalogs/catalog-lakehouse-iceberg/build.gradle.kts | 2 ++
catalogs/catalog-lakehouse-paimon/build.gradle.kts | 2 ++
iceberg/iceberg-rest-server/build.gradle.kts | 4 ++++
9 files changed, 20 insertions(+)
diff --git a/catalogs/catalog-hadoop/build.gradle.kts
b/catalogs/catalog-hadoop/build.gradle.kts
index ba85c3b6e..03d381e19 100644
--- a/catalogs/catalog-hadoop/build.gradle.kts
+++ b/catalogs/catalog-hadoop/build.gradle.kts
@@ -94,6 +94,8 @@ tasks {
exclude { details ->
details.file.isDirectory()
}
+
+ fileMode = 0b111101101
}
register("copyLibAndConfig", Copy::class) {
diff --git a/catalogs/catalog-hive/build.gradle.kts
b/catalogs/catalog-hive/build.gradle.kts
index c9c7422c6..93efe11bf 100644
--- a/catalogs/catalog-hive/build.gradle.kts
+++ b/catalogs/catalog-hive/build.gradle.kts
@@ -157,6 +157,8 @@ tasks {
exclude { details ->
details.file.isDirectory()
}
+
+ fileMode = 0b111101101
}
register("copyLibAndConfig", Copy::class) {
diff --git a/catalogs/catalog-jdbc-doris/build.gradle.kts
b/catalogs/catalog-jdbc-doris/build.gradle.kts
index 0d01a5cc0..c10496067 100644
--- a/catalogs/catalog-jdbc-doris/build.gradle.kts
+++ b/catalogs/catalog-jdbc-doris/build.gradle.kts
@@ -74,6 +74,8 @@ tasks {
exclude { details ->
details.file.isDirectory()
}
+
+ fileMode = 0b111101101
}
register("copyLibAndConfig", Copy::class) {
diff --git a/catalogs/catalog-jdbc-mysql/build.gradle.kts
b/catalogs/catalog-jdbc-mysql/build.gradle.kts
index fbd2cc0aa..d96b6209c 100644
--- a/catalogs/catalog-jdbc-mysql/build.gradle.kts
+++ b/catalogs/catalog-jdbc-mysql/build.gradle.kts
@@ -76,6 +76,8 @@ tasks {
exclude { details ->
details.file.isDirectory()
}
+
+ fileMode = 0b111101101
}
register("copyLibAndConfig", Copy::class) {
diff --git a/catalogs/catalog-jdbc-postgresql/build.gradle.kts
b/catalogs/catalog-jdbc-postgresql/build.gradle.kts
index af89c2dbf..f35585509 100644
--- a/catalogs/catalog-jdbc-postgresql/build.gradle.kts
+++ b/catalogs/catalog-jdbc-postgresql/build.gradle.kts
@@ -79,6 +79,8 @@ tasks {
exclude { details ->
details.file.isDirectory()
}
+
+ fileMode = 0b111101101
}
val copyLibAndConfig by registering(Copy::class) {
diff --git a/catalogs/catalog-kafka/build.gradle.kts
b/catalogs/catalog-kafka/build.gradle.kts
index 8ce72eeba..d42360494 100644
--- a/catalogs/catalog-kafka/build.gradle.kts
+++ b/catalogs/catalog-kafka/build.gradle.kts
@@ -72,6 +72,8 @@ tasks {
exclude { details ->
details.file.isDirectory()
}
+
+ fileMode = 0b111101101
}
register("copyLibAndConfig", Copy::class) {
diff --git a/catalogs/catalog-lakehouse-iceberg/build.gradle.kts
b/catalogs/catalog-lakehouse-iceberg/build.gradle.kts
index f7a251480..8936c75c1 100644
--- a/catalogs/catalog-lakehouse-iceberg/build.gradle.kts
+++ b/catalogs/catalog-lakehouse-iceberg/build.gradle.kts
@@ -128,6 +128,8 @@ tasks {
exclude { details ->
details.file.isDirectory()
}
+
+ fileMode = 0b111101101
}
register("copyLibAndConfig", Copy::class) {
diff --git a/catalogs/catalog-lakehouse-paimon/build.gradle.kts
b/catalogs/catalog-lakehouse-paimon/build.gradle.kts
index 757fe7060..1faf5e426 100644
--- a/catalogs/catalog-lakehouse-paimon/build.gradle.kts
+++ b/catalogs/catalog-lakehouse-paimon/build.gradle.kts
@@ -116,6 +116,8 @@ tasks {
exclude { details ->
details.file.isDirectory()
}
+
+ fileMode = 0b111101101
}
register("copyLibAndConfig", Copy::class) {
diff --git a/iceberg/iceberg-rest-server/build.gradle.kts
b/iceberg/iceberg-rest-server/build.gradle.kts
index b289c72ed..2c0fdb009 100644
--- a/iceberg/iceberg-rest-server/build.gradle.kts
+++ b/iceberg/iceberg-rest-server/build.gradle.kts
@@ -114,6 +114,8 @@ tasks {
original
}
}
+
+ fileMode = 0b111101101
}
register("copyConfigsToStandalonePackage", Copy::class) {
@@ -130,6 +132,8 @@ tasks {
original
}
}
+
+ fileMode = 0b111101101
}
register("copyLibAndConfigs", Copy::class) {