From 387a74371e761989c65c30659367eb1572a9c5d2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 12 Aug 2016 08:48:08 +0100 Subject: [PATCH] Permissions on mesh users script --- src/freedombone-image-customise | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 53823c78..c8d4d1f3 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -715,6 +715,8 @@ function configure_user_interface { #!/bin/bash lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d > /home/$MY_USERNAME/Desktop/Users.txt EOF + chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /usr/bin/list-tox-users + chroot "$rootdir" chmod +x /usr/bin/list-tox-users echo "* * * * * $MY_USERNAME /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab if [[ $VARIANT != "usb" ]]; then