From bea3c80c3f9f9cb5b21a96e58d26cd45b67b2b0c Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 25 Mar 2019 18:29:10 +0100 Subject: [PATCH] init: apply permissions recursive --- bashbot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 0f68f00..ee2939c 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -539,8 +539,8 @@ case "$1" in chown -R "$TOUSER" . * chmod 711 . chmod -R a-w * - chmod u+w "$COUNT" "$TMPDIR" *.log - chmod o-r,o-w "$COUNT" "$TMPDIR" token + chmod -R u+w "$COUNT" "$TMPDIR" *.log + chmod -R o-r,o-w "$COUNT" "$TMPDIR" token ls -la exit fi