[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#32828: dpkg-dev: control.tar.gz and data.tar.gz containing ./



Package: dpkg-dev
Version: 1.4.0.31

I've just wanted to check a packages contents and control information, 
and it made my /tmp almost unusable. 
I did tar xzvf control.tar.gz in /tmp, and since control.tar.gz contains
drwxr-xr-x root/root         0 1999-02-01 19:21 ./
it rewrote the perms of /tmp to 755 -> I got a non-working /tmp. It may
happen in other directories, even when not run as root...
I guess the reason for this is that debian/tmp/DEBIAN was tarred as the
current directory. The above case shows that it should be avoided, so it
would be nicer if tar was called with tar <options>  * instead of tar
<options> .

-- System Information
Debian Release: 2.0
Kernel Version: Linux mlf 2.0.36 #1 Tue Feb 2 12:46:29 CET 1999 i586 unknown

Versions of the packages dpkg-dev depends on:
ii  perl            5.004.04-6     Larry Wall's Practical Extracting and Report


Reply to: