From 6090d6c84c777fec29a1a672b795019604d07145 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Nov 2016 13:51:03 +0000 Subject: [PATCH] Permission on tox node keys --- src/freedombone-app-tox | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index f97ce2b6..722ccc8b 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -559,6 +559,10 @@ EOF done echo ')' >> $TOX_BOOTSTRAP_CONFIG fi + + if [ -f $rootdir/var/lib/tox-bootstrapd/keys ]; then + chmod 700 $rootdir/var/lib/tox-bootstrapd/keys + fi } function mesh_tox_avahi {