Explorar el Código

Permissions on mesh users script

Bob Mottram hace 8 años
padre
commit
387a74371e
Ninguna cuenta está vinculada al correo electrónico del colaborador
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      src/freedombone-image-customise

+ 2
- 0
src/freedombone-image-customise Ver fichero

715
 #!/bin/bash
715
 #!/bin/bash
716
 lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d > /home/$MY_USERNAME/Desktop/Users.txt
716
 lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d > /home/$MY_USERNAME/Desktop/Users.txt
717
 EOF
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
     echo "* *       * * *   $MY_USERNAME    /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
720
     echo "* *       * * *   $MY_USERNAME    /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
719
 
721
 
720
     if [[ $VARIANT != "usb" ]]; then
722
     if [[ $VARIANT != "usb" ]]; then