Selaa lähdekoodia

Permissions on mesh users script

Bob Mottram 8 vuotta sitten
vanhempi
commit
387a74371e
No account linked to committer's email
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2
    0
      src/freedombone-image-customise

+ 2
- 0
src/freedombone-image-customise Näytä tiedosto

@@ -715,6 +715,8 @@ function configure_user_interface {
715 715
 #!/bin/bash
716 716
 lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d > /home/$MY_USERNAME/Desktop/Users.txt
717 717
 EOF
718
+    chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /usr/bin/list-tox-users
719
+    chroot "$rootdir" chmod +x /usr/bin/list-tox-users
718 720
     echo "* *       * * *   $MY_USERNAME    /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
719 721
 
720 722
     if [[ $VARIANT != "usb" ]]; then