mikeizbicki / cmc-csci046

CMC's Data Structures and Algorithms Course Materials
52 stars 153 forks source link

Coronavirus Twitter - Permission Denied #540

Open StefanoFormicola opened 1 year ago

StefanoFormicola commented 1 year ago

When I run Task 1: Map with the following command:

$ ./src/map.py --input_path=/data/Twitter\ dataset/geoTwitter20-02-16.zip

I get the following output: -bash: ./src/map.py: Permission denied

Is anyone else getting this/knows how to fix it?

pulsar-heart commented 1 year ago

Have you given yourself execute permissions? If not, you can use

chmod u+x $filepath

Pretty sure I had this issue and resolved it that way :)

StefanoFormicola commented 1 year ago

It worked! I forgot about that, if anyone needs the exact copy and past command used I have left it below:

chmod +x ./src/map.py