Nea*_*alv 7 teamcity command-line
我带了一个带有团队城市的流浪盒.一切正常但是当我添加命令行构建步骤,其中包含'drush cc all'时,我收到此错误:
无法运行进程:无法运行程序"/ vagrant/public/TeamCity/buildAgent/temp/agentTmp/custom_script1106304414420673073"(在目录"/ vagrant/public/dev"中):java.io.IOException:error = 13,权限被拒绝
cph*_*117 11
这是一个权限错误,可以通过更新github上的模式来修复.我猜你的文件是用默认的100644创建的,但是他们需要有100755才能在团队城市上执行.在包含脚本的目录中执行以下操作:
$ git update-index --add --chmod=+x your-script-file
$ git commit -m "update mode"
$ git push
Run Code Online (Sandbox Code Playgroud)