And fix the error message on privileges