Bug 142237

Summary: zip -d arch.zip ./file fails
Product: [Fedora] Fedora Reporter: Doncho Gunchev <dgunchev>
Component: zipAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: leonard-rh-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-04 09:26:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Doncho Gunchev 2004-12-08 11:35:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
    The archive at http://www.xs4all.nl/~bsarempt/python/p.zip
contains files with './' path like as './edit.html'. Trying to remove
any of these fails.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. wget http://www.xs4all.nl/~bsarempt/python/p.zip
2. zip -d p.zip ./edit.html


Actual Results:  zip -d p.zip ./edit.html

zip error: Nothing to do! (p.zip)


Expected Results:  zip -d p.zip ./edit.html
deleting: ./edit.html


Additional info:

    Roland Illig found a workaround: 'zip -d p.zip [.]/edit.html'.
This breaks mc's vfs and probably others'. For more info:
http://mail.gnome.org/archives/mc-devel/2004-December/msg00031.html
and bug # 141844. The command -r is handled (maybe) correctly, ex:
'zip -r p.zip edit.html' replaces './edit.html' with the new 'edit.html'.

Comment 1 Leonard den Ottolander 2004-12-10 22:21:54 UTC
Doncho,

Please don't set the architecture if the issue is not architecture
specific.


Comment 2 Ivana Varekova 2005-02-01 09:11:33 UTC
Thank you for your notice.
The problem was fixed.
Ivana Varekova

Comment 3 Ivana Varekova 2005-02-04 09:26:32 UTC
Fixed in zip-2.3-29.