Azure-Samples / streaming-at-scale

How to implement a streaming at scale solution in Azure
MIT License
233 stars 98 forks source link

Permission Denied on 05-report-throughput.sh #42

Closed markjbrown closed 5 years ago

markjbrown commented 5 years ago

I am running through the eventhubs-streamanalytics-cosmosdb sample and get this error below when I run the create-solution.sh script. Any idea how I can fix?

CC @yorek

thanks.

***** [M] Starting METRICS reporting ./create-solution.sh: line 208: ./05-report-throughput.sh: Permission denied There was an error, execution halted Error at line 208

yorek commented 5 years ago

Could it be that you are running from a Mac or Ubuntu (Native)?

markjbrown commented 5 years ago

Running in WSL.

yorek commented 5 years ago

Interesting, let me check

yorek commented 5 years ago

Which sample are you testing?

markjbrown commented 5 years ago

this one https://github.com/Azure-Samples/streaming-at-scale/tree/master/eventhubs-streamanalytics-cosmosdb

yorek commented 5 years ago

This can be fixed by making sure permission are correctly set on all shell files. Run the following script in the root:

find -name "*.sh" | xargs chmod +x

markjbrown commented 5 years ago

awesome. Thanks Davide!