[ Please don't Cc: public replies to me. ] joost witteveen: > So, there's a first version of fakeroot sitting in > ftp://rulcmc.leidenuniv.nl/debian/upload I suggest a simpler solution, which doesn't require intricate hacking to work: At the moment, "debian/rules binary" is executed as root so that the files installed will have the correct ownerships and permissions, and because a handful of packages do special stuff that requires root priviledges. For the vast majority of packages, if we run "debian/rules binary" as a normal user, and modify "dpkg --build" to create the tar file so that files have the expected ownerships, there will be no problems. (I've tried it with one of my own packages.) Setuid executables and other special permissions and ownerships would need to be handled in some way, perhaps by listing them in a file that "dpkg --build" reads. Some packages would still require root priviledges, because they do something else at installation time that requires it. I don't know off-hand of any examples, and it might be possible to circumvent this by doing it in the postinst. Comments? (I'm not against fakeroot; I'm just hoping for a simpler solution. KISSing is fun. :) -- Please read <http://www.iki.fi/liw/mail-to-lasu.html> before mailing me. Please don't Cc: me when replying to my message on a mailing list.
Attachment:
pgp48ScM3spvQ.pgp
Description: PGP signature