Permission denied when run casperjs in iron.io

浪尽此生 提交于 2019-12-01 07:26:49

问题


I'm testing casperjs in iron.io as this example

https://github.com/iron-io/iron_worker_examples/blob/master/binary/casperjs/googlelinks.js

but when iron_worker complete this task, it gives an error message

./run.sh: 2: ./run.sh: casperjs/bin/casperjs: Permission denied

Any idea on how to fix this?

Thanks


回答1:


in run.sh:

..
chmod +x casperjs/bin/casperjs
..


来源:https://stackoverflow.com/questions/18449084/permission-denied-when-run-casperjs-in-iron-io

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!