On Tue, 2006-06-20 at 16:45 -0500, Matt Hoosier wrote:
> 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.
You can save fakeroot's database and load it when you want to archive
the files:
fakeroot -s database mknod /tmp/blah c 1 2
fakeroot -i database tar cf ...
You can combine -i and -s if you work on the same database on multiple
instances. You can also save separate database files from separate
operations (such as installing a particular package) and concatenate
them before archiving everything.
timo
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users