Set the right perms