Package: fakeroot
Version: 1.13
Severity: wishlist

Hi,

i am using fakeroot as a helper in software distribution. For example,
I have a subdirectory tree containing /etc of a new system, while all
files belong to me and have mode 600 on the real file system. When I
modify the subtree, I do this under fakeroot -i -s, so that etc/shadow
can be root:shadow 640 without me actually being root on the system.
In this context, the save-file lives over weeks/months and contains
important configuration data.

I would now like to be able to rsync/copy these trees to different
systems, which doesn't work since the save file only contains file
system and inode numbers which are likely to be differnt on the other
system.

I must admit that I haven't really understood why fakeroot doesn't key
the save-file by file name (I guess it must have something to do with
hardlinks ouside the fakeroot scope, but I haven't understood).

Would it be possible to put the file name into the file as well
(cached from the respective syscalls or obtained from /proc) so that a
subsequent fakeroot -r can choose whether to verify whether the file
name and the inode number still match and/or allow the user to choose
whether to give the inode number or the file name precedence?

Such a change would not break backwards compatibility.

Greetings
Marc



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to