From 70e6ba7be034c9b18dc96ad7521d467ebafd2cd8 Mon Sep 17 00:00:00 2001 From: nikurasu Date: Fri, 31 May 2024 23:56:55 +0200 Subject: [PATCH] fix(shell): another prepareServer fix --- shell/scripts/prepareServer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"