问题解决:bash: ./XX.sh: 权限不够 问题解决办法 问题 bash: ./XX.sh: 权限不够用sudo,提示:sudo: ./XX.sh command not found 解决办法 右键该文件,选属性,在权限里将“允许作为程序执行文件”勾选。