> You could also test for running as root by comparing $(%{__id_u}) with 0 There are lots of other reasonable tests, indeed. test -O / is what the upstream package did, so we save pain (at least for me) by making that particular test meet expectations. Thanks, Roland