Added a check for root access.