superpan3000
superpan3000

Reputation: 43

Permission denied when run casperjs in iron.io

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

Upvotes: 2

Views: 762

Answers (1)

thousandsofthem
thousandsofthem

Reputation: 1365

in run.sh:

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

Upvotes: 2

Related Questions