Bug#658239: pbzip2 fails to preserve ownership on 0 length files

2012-06-10 Thread Jeff Gilchrist
This bug should now be fixed upstream in release 1.1.8, please test to confirm:
https://launchpad.net/pbzip2/1.1/1.1.8/+download/pbzip2-1.1.8.tar.gz



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



Bug#658239: pbzip2 fails to preserve ownership on 0 length files

2012-06-09 Thread AnĂ­bal Monsalve Salazar
On Wed, Feb 01, 2012 at 11:21:34AM +, Mike Ashton wrote:
Package: pbzip2
Version: 1.1.1-1
Severity: important

pbzip2, when run as root, does not preserve the user and group
ownership of the source file on the newly created .bz2 file if the
source file is zero length.

This is inconsistent with its behaviour in lenny, but worse it is
inconsistent with bzip2 itself for which it should be a drop in
replacement.

This may seem trivial (it's a weird edge case, I'll grant you), but it
just broke a lot of cron jobs following a dist-upgrade :)

wilson:~# : test1
wilson:~# : test2
wilson:~# chown mike test?
wilson:~# pbzip2 test1
wilson:~# bzip2 test2
wilson:~# ls -l test?.bz2
-rw-r--r-- 1 root root 14 Feb  1 11:19 test1.bz2
-rw-r--r-- 1 mike root 14 Feb  1 11:18 test2.bz2

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF8, LC_CTYPE=en_GB.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pbzip2 depends on:
ii  libbz2-1.0  1.0.5-6+squeeze1 high-quality block-sorting file co
ii  libc6   2.11.3-2 Embedded GNU C Library: Shared lib
ii  libgcc1 1:4.4.5-8GCC support library
ii  libstdc++6  4.4.5-8  The GNU Standard C++ Library v3

pbzip2 recommends no packages.

pbzip2 suggests no packages.

-- no debconf information

Hello Jeff,

http://bugs.debian.org/658239

Could you please have a look at this bug for me?

http://bugs.debian.org/pbzip2

BTW, could you please do the same with the other pbzip Debian bugs?

Cheers,

Anibal



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



Bug#658239: pbzip2 fails to preserve ownership on 0 length files

2012-06-09 Thread Jeff Gilchrist
 http://bugs.debian.org/658239
 Could you please have a look at this bug for me?

While this report is for v1.1.1-1 which is quite old, I can confirm it
still exists in v1.1.7 which is the latest release.

 http://bugs.debian.org/pbzip2
 BTW, could you please do the same with the other pbzip Debian bugs?

Two of these bugs are now fixed in the latest 1.1.7 release which can
be downloaded from here:
https://launchpad.net/pbzip2/1.1/1.1.7/+download/pbzip2-1.1.7.tar.gz

Jeff.



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



Bug#658239: pbzip2 fails to preserve ownership on 0 length files

2012-06-09 Thread Jeff Gilchrist
This bug is now being tracked upstream:
https://bugs.launchpad.net/pbzip2/+bug/1011021



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



Bug#658239: pbzip2 fails to preserve ownership on 0 length files

2012-02-01 Thread Mike Ashton
Package: pbzip2
Version: 1.1.1-1
Severity: important

pbzip2, when run as root, does not preserve the user and group ownership of the 
source file on the newly created .bz2 file if the source file is zero length.

This is inconsistent with its behaviour in lenny, but worse it is inconsistent 
with bzip2 itself for which it should be a drop in replacement.

This may seem trivial (it's a weird edge case, I'll grant you), but it just 
broke a lot of cron jobs following a dist-upgrade :)

wilson:~# : test1
wilson:~# : test2
wilson:~# chown mike test?
wilson:~# pbzip2 test1
wilson:~# bzip2 test2
wilson:~# ls -l test?.bz2
-rw-r--r-- 1 root root 14 Feb  1 11:19 test1.bz2
-rw-r--r-- 1 mike root 14 Feb  1 11:18 test2.bz2

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF8, LC_CTYPE=en_GB.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pbzip2 depends on:
ii  libbz2-1.0  1.0.5-6+squeeze1 high-quality block-sorting file co
ii  libc6   2.11.3-2 Embedded GNU C Library: Shared lib
ii  libgcc1 1:4.4.5-8GCC support library
ii  libstdc++6  4.4.5-8  The GNU Standard C++ Library v3

pbzip2 recommends no packages.

pbzip2 suggests no packages.

-- no debconf information



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