Fix for #114 - Fix permission denied error when viewing files in user directory

Fixes #114

Also make permission error messages more informative.
can we add the exception to the log statement to make it easier to debug the problem?