pub(crate) fn fail_if_root(user: &User) -> Result<(), Error>
Fails if running as root.
Evaluates the effective user ID.
Returns an error if the effective user ID is that of root.