More error checking; for -a check admin rights.