This is an automated email from the ASF dual-hosted git repository.

sekikn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 4bb3663ed BIGTOP-4476. Fix invalid permission of conf files of 
ZooKeeper and Zeppelin. (#1371)
4bb3663ed is described below

commit 4bb3663edc45ae971499e380d45f5763d9bab9ed
Author: Masatake Iwasaki <iwasak...@apache.org>
AuthorDate: Mon Aug 11 08:16:18 2025 +0900

    BIGTOP-4476. Fix invalid permission of conf files of ZooKeeper and 
Zeppelin. (#1371)
---
 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

Reply via email to