Public bug reported:

Binary package hint: zip

The test case for this bug is very simple.

# mkdir A
# touch A/file
# mkdir B
# cd B

# zip -r archive.zip ../A
  adding: ../A/ (stored 0%)
  adding: ../A/file (stored 0%)

Actual result:

# zipinfo archive.zip
Zip file size: 306 bytes, number of entries: 2
drwxr-xr-x  3.0 unx        0 bx stor 10-Oct-29 14:29 ../A/
-rw-r--r--  3.0 unx        0 bx stor 10-Oct-29 14:29 ../A/file
2 files, 0 bytes uncompressed, 0 bytes compressed:  0.0%

Expected result:

# zipinfo archive.zip
Zip file size: 306 bytes, number of entries: 2
drwxr-xr-x  3.0 unx        0 bx stor 10-Oct-29 14:29 A/
-rw-r--r--  3.0 unx        0 bx stor 10-Oct-29 14:29 A/file
2 files, 0 bytes uncompressed, 0 bytes compressed:  0.0%

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: zip 3.0-3
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic-pae 2.6.35.4
Uname: Linux 2.6.35-22-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Oct 29 14:26:04 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: zip

** Affects: zip (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 maverick

-- 
zip adds entries with relative path including ".."
https://bugs.launchpad.net/bugs/668285
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to