rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vongosl...@apache.org
Subject [rocketmq-docker] 35/50: change to rw permission
Date Tue, 03 Dec 2019 13:50:58 GMT
This is an automated email from the ASF dual-hosted git repository.

vongosling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-docker.git

commit eb8e190478610c08176bf694a2a98c83b507f4ee
Author: 刘睿 <liurui@liuruideMacBook-Pro.local>
AuthorDate: Fri Aug 23 11:14:37 2019 +0800

    change to rw permission
---
 templates/play-docker-compose.sh  | 2 +-
 templates/play-docker-deledger.sh | 2 +-
 templates/play-docker-tls.sh      | 2 +-
 templates/play-docker.sh          | 2 +-
 templates/play-kubernetes.sh      | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/templates/play-docker-compose.sh b/templates/play-docker-compose.sh
index 59228ce..fa24164 100755
--- a/templates/play-docker-compose.sh
+++ b/templates/play-docker-compose.sh
@@ -27,7 +27,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R docker-compose > /dev/null 2>&1
+chmod a+rw -R docker-compose
 
 # Run nameserver and broker
 docker-compose -f ./docker-compose/docker-compose.yml up -d
diff --git a/templates/play-docker-deledger.sh b/templates/play-docker-deledger.sh
index aa07fe0..7648361 100755
--- a/templates/play-docker-deledger.sh
+++ b/templates/play-docker-deledger.sh
@@ -35,7 +35,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data > /dev/null 2>&1
+chmod a+rw -R data
 
 echo "Starting RocketMQ nodes..."
 
diff --git a/templates/play-docker-tls.sh b/templates/play-docker-tls.sh
index 19c428b..c8d7ff5 100755
--- a/templates/play-docker-tls.sh
+++ b/templates/play-docker-tls.sh
@@ -27,7 +27,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data > /dev/null 2>&1
+chmod a+rw -R data
 
 echo "Starting RocketMQ nodes..."
 
diff --git a/templates/play-docker.sh b/templates/play-docker.sh
index 05272d7..b2f87a4 100755
--- a/templates/play-docker.sh
+++ b/templates/play-docker.sh
@@ -45,7 +45,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data > /dev/null 2>&1
+chmod a+rw -R data
 
 echo "Starting RocketMQ nodes..."
 
diff --git a/templates/play-kubernetes.sh b/templates/play-kubernetes.sh
index 0b8a231..b6138b8 100755
--- a/templates/play-kubernetes.sh
+++ b/templates/play-kubernetes.sh
@@ -19,7 +19,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data > /dev/null 2>&1
+chmod a+rw -R data
 
 # Run nameserver and broker on your Kubernetes cluster
 kubectl apply -f kubernetes/deployment.yaml


Mime
View raw message