Re: Numerical owners

Denis Corbin <[email protected]> Mon, 27 Mar 2006 22:21:04 +0200
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
Wiebe Cazemier wrote:
> On 03/26/06 22:22, Denis Corbin wrote:
> 
> 
>>Well, the argumentation you present here is just what I was missing
>>for. Intuitively, I was against doing UID/GID mapping to names (I had
>>to reject twice this type of feature request ; my argumentation was a
>>little weak for what I remember).
>>
>>But now this definitively makes sense to not do UID or GID mapping to
>>names. The most caracteristic situtation is when the /etc/password
>>file is part of the backup itslef, and the restoration is done in the
>>live system : two files of same owner could be restored as owner by
>>different users/group if the /etc/password file is restored between
>>them...
> 
> 
> I think restoring from a LiveCD is more common than restoring in a live
> system itself, but you're argument is also valid. I'm just glad we're in
> agreement anyway :)

of course, the restoration from a live CD is probably more frequent, but 
if you restore a whole system using a live CD to a brand new hard disk, 
you will keep having something coherent. For example instead of having 
user "bin" mapped to uid 1 you could have it mapped to uid 2, while all 
the system stays coherent, performing a name to uid mapping is not a 
problem, your restored system would work identically with uid 2 for bin 
in place of uid 1.

Instead the scenario I describe which is much less frequent would let 
dar behave much more strangely if name to uid mapping was used. This 
could let big functionning problems to your restored system and it would 
be, I guess, more difficult to detect (and to track down).

> 
> 
>>Thanks you for your feedback,
> 
> 
> Just helping improving/maintaining a critical piece of software on my
> system.

:-)

you are welcome,

Regards,
Denis.
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEKEk4pC5CI8gYGlIRApPZAKCtJhg2kjD22O7CxDozJgxNeqzj8wCfWk7N
VYQz1KREsIPBlQU+LMLuKjI=
=+tEi
-----END PGP SIGNATURE-----