Zip compression fails if there is a file with a specific file name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
File Roller |
Fix Released
|
Low
|
|||
file-roller (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: zip
Ubuntu version: 10.04 32 bits
package: zip (3.0-3)
Problem:
Zip compression fails with the mesasge "zip error: Invalid command arguments (short option '_' not supported)" if there is a file with the following name:
-_file.txt
The key is the slash and the underscore together in the beginning of the file name.
This happens with the command line utility and using File Roller too.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: evince 2.32.0-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
Architecture: i386
Date: Fri Nov 5 21:49:43 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: evince
Related branches
- Ubuntu Desktop: Pending requested
-
Diff: 128 lines (+61/-6)6 files modifieddebian/changelog (+14/-0)
debian/control (+4/-2)
debian/control.in (+4/-2)
debian/patches/90_hyphen_archive_creation.patch (+37/-0)
debian/patches/series (+1/-0)
debian/rules (+1/-2)
Changed in file-roller (Ubuntu): | |
status: | New → Confirmed |
tags: | added: patch |
Changed in file-roller: | |
importance: | Unknown → Low |
status: | Unknown → New |
Changed in file-roller: | |
status: | New → Fix Released |
Try
zip file.zip -- -_file.txt
-- tells zip to stop parsing further options and take the values as they come. Unfortunately, the name of the target archive must come before --.