bash:./start.sh:权限被拒绝&&./start.sh:第 64 行:.//WrightEagle:权限被拒绝

bash:./start.sh:权限被拒绝&&./start.sh:第 64 行:.//WrightEagle:权限被拒绝

嗨,我想启动我的服务器和我的游戏到 rcsoocersim,但是当我想启动游戏并在终端中写入 ./start.sh bash: ./start.sh: Permission denied 我尝试写入 chmod 700 *sh 或 chmod +x *sh 结果是

>>>>>>>>>>>>>>>>>>>>>> WrightEagle Goalie: 1
./start.sh: line 58: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 2
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 3
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 4
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 5
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 6
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 7
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 8
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 9
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 10
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Player: 11
./start.sh: line 64: .//WrightEagle: Permission denied
>>>>>>>>>>>>>>>>>>>>>> WrightEagle Coach
./start.sh: line 71: .//WrightEagle: Permission denied

如有任何帮助我将不胜感激,谢谢

答案1

您需要chmod如下 WrightEagle 文件:

chmod u+x .//WrightEagle

相关内容