Permission denied when run casperjs in iron.io

759 views Asked by At

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

There are 1 answers

0
thousandsofthem On BEST ANSWER

in run.sh:

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