Package: zip
Version: 3.0-8
Severity: normal
File: /usr/bin/zip

Dear Maintainer,

BUG: Zip (or unzip) does not ALWAYS preserve the file time stamp
correctly as shown in example 1 and 2.

EXAMPLE 1:
---------
$ cat >a1.txt
$ touch -t 201611021508.09 a1.txt
$ zip a1.zip a1.txt
$ mv a1.txt a2.txt
$ unzip a1.zip

time stamp of a1.txt : 201611021508.10
time stamp of a2.txt : 201611021508.09

EXAMPLE 2:
----------
$ cat >b1.txt
$ touch -t 201611021508.06 b1.txt
$ zip b1.zip b1.txt
$ mv b1.txt b2.txt
$ unzip b1.zip

time stamp of b1.txt : 201611021508.06
time stamp of b2.txt : 201611021508.06

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zip depends on:
ii  libbz2-1.0  1.0.6-7+b3
ii  libc6       2.19-18+deb8u6

Versions of packages zip recommends:
ii  unzip  6.0-16+deb8u2

zip suggests no packages.

-- no debconf information

Reply via email to