This is an automated email from the ASF dual-hosted git repository.
sekikn pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/branch-3.5 by this push:
new cc650c753 BIGTOP-4476. Fix invalid permission of conf files of
ZooKeeper and Zeppelin. (#1371)
cc650c753 is described below
commit cc650c75355bffce5c6f04e79d67c7a13916739c
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Mon Aug 11 08:16:18 2025 +0900
BIGTOP-4476. Fix invalid permission of conf files of ZooKeeper and
Zeppelin. (#1371)
(cherry picked from commit 4bb3663edc45ae971499e380d45f5763d9bab9ed)
---
bigtop-packages/src/common/zeppelin/install_zeppelin.sh | 2 +-
bigtop-packages/src/common/zookeeper/install_zookeeper.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bigtop-packages/src/common/zeppelin/install_zeppelin.sh
b/bigtop-packages/src/common/zeppelin/install_zeppelin.sh
index cc05bf198..49147af71 100644
--- a/bigtop-packages/src/common/zeppelin/install_zeppelin.sh
+++ b/bigtop-packages/src/common/zeppelin/install_zeppelin.sh
@@ -132,5 +132,5 @@ rm -f $PREFIX/$LIB_DIR/bin/*.cmd
chmod 755 $PREFIX/$LIB_DIR/bin/*
rm -f $PREFIX/$CONF_DIST_DIR/*.cmd.*
-cp -a ${SOURCE_DIR}/zeppelin-env.sh $PREFIX/$CONF_DIST_DIR
+install -m 0755 ${SOURCE_DIR}/zeppelin-env.sh $PREFIX/$CONF_DIST_DIR
ln -s $CONF_DIR $PREFIX/$LIB_DIR/conf
diff --git a/bigtop-packages/src/common/zookeeper/install_zookeeper.sh
b/bigtop-packages/src/common/zookeeper/install_zookeeper.sh
index 84a2f95a7..b5725f19d 100755
--- a/bigtop-packages/src/common/zookeeper/install_zookeeper.sh
+++ b/bigtop-packages/src/common/zookeeper/install_zookeeper.sh
@@ -151,7 +151,7 @@ cp $BUILD_DIR/lib/*.jar $PREFIX/$LIB_DIR/lib
# Copy in the configuration files
install -d -m 0755 $PREFIX/etc/zookeeper
install -d -m 0755 $PREFIX/$CONF_DIST_DIR
-cp zoo.cfg $BUILD_DIR/conf/* $PREFIX/$CONF_DIST_DIR/
+install -m 0644 zoo.cfg $BUILD_DIR/conf/* $PREFIX/$CONF_DIST_DIR/
ln -s $CONF_DIR $PREFIX/$LIB_DIR/conf
# Copy in the /usr/bin/zookeeper-server wrapper