diff --git a/shell/scripts/prepareServer.sh b/shell/scripts/prepareServer.sh index 9b338a4..8a7fdcc 100644 --- a/shell/scripts/prepareServer.sh +++ b/shell/scripts/prepareServer.sh @@ -148,7 +148,7 @@ mk_docker_dir() { set -x fi $sh_c "mkdir -p $docker_root/docker/ $docker_root/docker/compose $docker_root/docker/data" - $sh_c "chgrp docker $docker_root/docker" + $sh_c "chgrp -R docker $docker_root/docker" $sh_c "chmod -R g+s $docker_root/docker" $sh_c "setfacl -R -m u::rwx,g::rwx $docker_root/docker" $sh_c "setfacl -R -d --set u::rwx,g::rwx,o::r-x $docker_root/docker"