Re: dh_testroot ?
Hamish Moffatt wrote:
> A lot of packages used to test for root access in the clean target too.
> That was standard practise before we had fakeroot.
>
> I suppose when you were building as root (non-fake), you would end up
> with directories owned by root, so it made sense that you would need
> root access to clean up as well.
>
> Now it's just an annoyance. Only the binary target needs root access.
Not quite. The clean target still should run as root unless you're building
with fakeroot. For a variety of reasons, many people (and autobuilders
too, I think) don't use fakeroot all the time.
--
see shy jo
Reply to: