Package: tar
Version: 1.15.91-2
Severity: important

When I extract files with tar, as root, extracted files' UID is not always 
root, but sometimes other UIDs, for example bab (an user account on my 
computer), or 1100, which is not a user account on my computer. Here follows 
two examples of a session, to help you understand the problem, and my 
/etc/passwd file.
I have been encountering this bug for a long time, on different computers, with 
different versions of the kernel and of the coreutils.
Thanks for telling me if I can do anything to help diagnose this very annoying 
problem.

-- Example 1 --

portnico:~# whoami
root
portnico:~# ls -l mpg321*              
-rw-r--r-- 1 root root 113449 2006-07-22 21:39 mpg321-0.2.10.tar.gz
portnico:~# tar xzvf mpg321-0.2.10.tar.gz 
mpg321-0.2.10/
mpg321-0.2.10/Makefile.in
mpg321-0.2.10/debian/
mpg321-0.2.10/debian/changelog
<snip>
portnico:~# ls -l mpg321*
-rw-r--r-- 1 root root 113449 2006-07-22 21:39 mpg321-0.2.10.tar.gz

mpg321-0.2.10:
total 520
-rw-r--r-- 1 bab bab   8838 2002-03-24 06:04 aclocal.m4
-rw-r--r-- 1 bab bab  16076 2002-03-24 06:49 ao.c
-rw-r--r-- 1 bab bab    661 2002-03-24 00:00 AUTHORS
-rw-r--r-- 1 bab bab    753 2002-03-24 00:15 BUGS
portnico:~#

-- Example 2 --

portnico:~# ls -l
total 1216652
<snip>
drwxr-xr-x  2 bab   bab        4096 2006-07-08 15:21 caml2html-1.2.4
<snip>
drwxr-xr-x  6 24253 21117      4096 2002-01-26 22:08 cl75
<snip>
drwxr-xr-x  5   508 users      4096 1997-09-14 10:08 goemon
-rw-r--r--  1   508 users      6454 1997-09-14 10:12 goemon.cfg
<snip>
drwxrwxrwx  5 bab   users      4096 2006-06-20 09:09 minidock-1.4
<snip>
drwxr-xr-x  4  1100  1100      4096 2006-07-02 14:47 ndiswrapper-1.19
<snip>
drwxr-xr-x  5  1100  1100      4096 2005-08-20 14:16 ndiswrapper-1.3rc1
portnico:~#

-- /etc/passwd --

root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
postgres:x:31:32:postgres:/var/lib/postgres:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
operator:x:37:37:Operator:/var:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
telnetd:x:101:101::/nonexistent:/bin/false
sshd:x:100:65534::/var/run/sshd:/bin/false
messagebus:x:102:107::/var/run/dbus:/bin/false
bab:x:1000:1000:Barbara,,,:/home/bab:/bin/bash

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages tar depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries

tar recommends no packages.

-- no debconf information


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

Reply via email to