Fixing file permissions.