[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_testroot ?



On Thu, May 03, 2001 at 08:23:19AM +1000, 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.

Yes and no.  If you built as root, it is important to check that you
clean up as root.  If you build as fakeroot, you can clean up as
fakeroot.  Try the "debclean" command in devscripts.  Makes life
really easy.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: