Fix perms with attr