Added permission error handling.
Merge branch 'master' of https://github.com/cs3600/project1