I'm using modeller 9.21 for Mac and python 2.7.16.

I'm trying to run python scripts by using these commands on terminal.However, it gives me permission denied error.How can I solve this permission error?


mkdir modeller

cd modeller/

ls

mod9.21 examples/

Cannot open logfile examples/.log: Permission denied

mod9.21 examples/salign/salign_align2d.py 

Cannot open logfile examples/salign/salign_align2d.log: Permission denied

mod9.21 /Library/modeller-9.21/examples/salign/salign_align2d.py 

Cannot open logfile /Library/modeller-9.21/examples/salign/salign_align2d.log: Permission denied

mod9.21 /Library/modeller-9.21/examples/salign/salign_align2d.py >AA

Cannot open logfile /Library/modeller-9.21/examples/salign/salign_align2d.log: Permission denied

./run_tests 

Entering directory: all-steps

mod9.21 search.py

Cannot open logfile search.log: Permission denied

mod9.21 compare.py

Cannot open logfile compare.log: Permission denied

mod9.21 get-model.py

Cannot open logfile get-model.log: Permission denied

Entering directory: assessment

mod9.21 assess_dope.py

Cannot open logfile assess_dope.log: Permission denied

mod9.21 assess_normalized_dope.py

Cannot open logfile assess_normalized_dope.log: Permission denied