Python Using Databases in Python Our Diary App Switching It Up

Permission Denied

When I run ./diary.py the console says, "bash: ./diary: Permission denied". Why does this happen?

2 Answers

Ken Stone
Ken Stone
22,734 Points

Did you run

chmod +x diary.py 

to make the file executable?

No, thanks for the help!