Check if sudo before setting folder permissions. Complain if not.