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

Re: Usage of dpkg under cygwin




On Wednesday, October 2, 2002, at 01:58 PM, James Michael DuPont wrote:

3. what is the need for root access? I commented out the
code in dh_testroot:
   #error("You must run this as root (or use fakeroot).");

This is absolutely needed to properly build debian packages. Otherwise files can not be created with the proper permissions before they are actually tar'd up and included in a debian binary package. fakeroot (if installed and it's use specified by giving the -rfakeroot option to dpkg-buildpackage or `fakeroot debian/rules binary`) accomplishes this task without actually having to be root. debhelper is maintained by very knowledgeable and important people in the debian community. do you think they would have something in there like that if it wasn't needed? afterall, what is the point of running dh_testroot (which tests that it's running as root or under fakeroot) if you comment out the whole purpose of it.



--
Paul Baker

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
         -- Benjamin Franklin, 1759

GPG Key: http://homepage.mac.com/pauljbaker/public.asc




Reply to: