file permissions and exception