GNU bug report logs - #44904
Zip file deleted despite exit with warning.

Previous Next

Package: gzip;

Reported by: Jason Robertson <Jason.Robertson <at> dal.ca>

Date: Fri, 27 Nov 2020 17:52:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44904 in the body.
You can then email your comments to 44904 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#44904; Package gzip. (Fri, 27 Nov 2020 17:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Robertson <Jason.Robertson <at> dal.ca>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Fri, 27 Nov 2020 17:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jason Robertson <Jason.Robertson <at> dal.ca>
To: "bug-gzip <at> gnu.org" <bug-gzip <at> gnu.org>
Subject: Zip file deleted despite exit with warning.
Date: Fri, 27 Nov 2020 16:27:07 +0000
[Message part 1 (text/plain, inline)]
Hello:

I'm decompressing some very important files as we speak, and while attempting to do so, it returned a warning that "entries after the first were ignored" and failed to output any useful files. The sample usage was:

gzip -d foo.zip

This returned only a single, small, corrupted file called "foo." Now, I only see one entry there, and Googling the problem really didn't help. More to the point, though...the first time I did this foo.zip was deleted. Which is a problem since, as I mentioned, these are important files. Upon further examination, I see that the -k is necessary to prevent this from happening, but I'm surprised that a) default behaviour is to delete files after usage, and b) it would do so even after a warning or error? This latter behaviour is what I perceive to be a bug, above all else, though I find the default behaviour in general to be baffling and unintuitive.

Thanks in advance.

Jason W. Robertson, Ph.D. (he/him)
Research Associate, Brain Networks and Neurophysiology Lab
Department of Anaesthesia, Pain Management, and Perioperative Medicine
Dalhousie University
Halifax, Nova Scotia, Canada
Email: jason.robertson <at> dal.ca
[Message part 2 (text/html, inline)]

Information forwarded to bug-gzip <at> gnu.org:
bug#44904; Package gzip. (Sat, 28 Nov 2020 01:19:01 GMT) Full text and rfc822 format available.

Message #8 received at 44904 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jason Robertson <Jason.Robertson <at> dal.ca>
Cc: 44904 <at> debbugs.gnu.org
Subject: Re: bug#44904: Zip file deleted despite exit with warning.
Date: Fri, 27 Nov 2020 17:17:54 -0800
On 11/27/20 8:27 AM, Jason Robertson wrote:
> The sample usage was:
> 
> gzip -d foo.zip

Here's what happened when I tried that with gzip 1.10:

$ gzip -d Java.zip
gzip: Java.zip: unknown suffix -- ignored

and there were no changes to Java.zip.

Perhaps you meant to write 'gzip -d foo.gz'? If so, can you email us a copy of 
your foo.gz file, so that we can reproduce the bug?




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 01 Dec 2020 04:05:02 GMT) Full text and rfc822 format available.

Notification sent to Jason Robertson <Jason.Robertson <at> dal.ca>:
bug acknowledged by developer. (Tue, 01 Dec 2020 04:05:02 GMT) Full text and rfc822 format available.

Message #13 received at 44904-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jason Robertson <Jason.Robertson <at> dal.ca>
Cc: 44904-done <at> debbugs.gnu.org
Subject: Re: bug#44904: Zip file deleted despite exit with warning.
Date: Mon, 30 Nov 2020 20:03:56 -0800
On 11/30/20 6:25 AM, Jason Robertson wrote:
> I can't email foo.zip because it got deleted. 🙁

OK, thanks, if we can't reproduce the problem I'll close the bug report. We can 
reopen it later if needed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Dec 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.