Package: tar
Version: 1.22-2
Severity: wishlist

Hi,

when unpacking a chroot, it would be nice to have tar honor a
different /etc/passwd and /etc/group, namely the one belonging to the
chroot. Otherwise, system directories that are owned by dynamically
assigned uids/gids have the wrong owner. This possibly happens when
the original system /etc/passwd is used and when --numeric-owner is
used, if the uids/gids in the tar input are different.

The best solution would probably be an option --passwd
/path/to/other/tree/etc/passwd --group /path/to/other/tree/etc/group
which are then used by tar to map the user/group name to the numeric
uid/gid.

Greetings
Marc

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.5-nc8000 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tar depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries

tar recommends no packages.

Versions of packages tar suggests:
ii  bzip2                         1.0.5-3    high-quality block-sorting file co
ii  ncompress                     4.2.4.2-2  Original Lempel-Ziv compress/uncom

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to