This problem is caused by line 24 and 26 of "install_sdcard.sh". I modified "cmd" to "sudo", and it is OK.