From 5819b5cac41453328cbb6f4b065c5c6bdd7ff012 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 3 Jun 2019 16:05:02 +0200 Subject: [PATCH] *.jssh must be writeable by owner --- bashbot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bashbot.sh b/bashbot.sh index d983bd4..e3bb3a8 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -662,6 +662,8 @@ bot_init() { chmod -R a-w ./* chmod -R u+w "${COUNTFILE}" "${DATADIR}" "${BOTADMIN}" ./*.log 2>/dev/null chmod -R o-r,o-w "${COUNTFILE}" "${DATADIR}" "${TOKENFILE}" "${BOTADMIN}" "${BOTACL}" 2>/dev/null + # jsshDB must writeable by owner + find . -name '*.jssh' -exec chmod u+w \{\} + ls -la fi }