ソースを参照

Permissions on mesh users script

Bob Mottram 9 年 前
コミット
387a74371e
コミット者のEメールアドレスに関連付けられたアカウントが存在しません
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2
    0
      src/freedombone-image-customise

+ 2
- 0
src/freedombone-image-customise ファイルの表示

@@ -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