Changing file permissions to correct permissions.