setPermissions skips trying to delete the owner of a resource