Fakeroot does not allow chown or mknod commands to achieve their intended result. The host system's kernel still pays attention to permissions. Transcript follows:
/scratchbox/login fakeroot mknod /tmp/blah c 1 2 /scratchbox/login ls -al /tmp/blah -rw-r--r-- 1 yourname yourgroup 0 Jun 20 16:43 /tmp/blah mknod running underneath fakeroot just creates a normal file. On 6/20/06, Veli Mankinen <[EMAIL PROTECTED]> wrote:
Hi, Fakeroot: /scratchbox/login fakeroot apt-get install packages-for-target - Veli On 20/06, Matt Hoosier wrote: > So, I'll say at the beginning: I understand why developing as root in > SB is A Bad Thing :) > > That said, I would like to be able to do so in very specific > circumstances, like when building up a fresh target (to become the > image for a target device) by downloading/installing packages with > APT. > > Since package post-installation scripts sometimes need to make device > nodes, or tweak binaries to be set-uid root, this seems to be a > legitimate function. > > Is there a way that I can override the safety checks and do some work > as root? E.g., > > # /scratchbox/login apt-get install packages-for-target > _______________________________________________ > Scratchbox-users mailing list > Scratchbox-users@lists.scratchbox.org > http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users -- Veli Mankinen, Movial Corporation Porkkalankatu 13 J, FI-00180 Helsinki Mobile +358 40 549 0437, Tel +358 9 8567 6400 Fax +358 9 8567 6401 www.movial.fi _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
_______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users