Ver código fonte

Permission on tox node keys

Bob Mottram 8 anos atrás
pai
commit
6090d6c84c
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      src/freedombone-app-tox

+ 4
- 0
src/freedombone-app-tox Ver arquivo

@@ -559,6 +559,10 @@ EOF
559 559
         done
560 560
         echo ')' >> $TOX_BOOTSTRAP_CONFIG
561 561
     fi
562
+
563
+    if [ -f $rootdir/var/lib/tox-bootstrapd/keys ]; then
564
+        chmod 700 $rootdir/var/lib/tox-bootstrapd/keys
565
+    fi
562 566
 }
563 567
 
564 568
 function mesh_tox_avahi {