Fixed issues with the file permissions.