*.jssh must be writeable by owner

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-06-03 16:05:02 +02:00
parent 6128c8956f
commit 5819b5cac4

View File

@ -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
}