gzip -f zips files with .gz suffix, creating file.gz.gz

Bug #1008525 reported by Duncan Sands
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gzip (Ubuntu)
Expired
Low
Unassigned

Bug Description

Create a directory containing a file, for example:

 $ mkdir d
 $ touch d/f

Now do (yes, running gzip twice):

 $ gzip -f -r d
 $ gzip -f -r d

Look in the directory and you will find the file a.gz.gz.

 $ cd d
 $ ls
 f.gz.gz

This is a change from ubuntu versions before precise pangolin: previously gzip would
not recompress files ending in .gz when run in this way.
---
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
DistroRelease: Ubuntu 12.04
EcryptfsInUse: Yes
NonfreeKernelModules: wl
Package: gzip 1.4-1ubuntu2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Tags: precise
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-04-29 (36 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Aaron Cossey (aaron-cossey) wrote :

Able to confirm using gzip 1.4 (1.4-1ubuntu2).

Changed in gzip (Ubuntu):
status: New → Confirmed
C de-Avillez (hggdh2)
Changed in gzip (Ubuntu):
importance: Undecided → Low
Revision history for this message
Evan Peck (colors) wrote :

Likewise.

description: updated
Revision history for this message
Evan Peck (colors) wrote :

Duncan,

Please run
apport-collect 1008525

Thank you!
Evan Peck

Revision history for this message
Evan Peck (colors) wrote :

It's a compression conundrum!
Here's a terminal screenshot!

Revision history for this message
Duncan Sands (baldrick-free) wrote : Re: [Bug 1008525] Re: gzip -f zips files with .gz suffix, creating file.gz.gz

Hi Evan,

> Please run
> apport-collect 1008525

I did this and discovered that this tool is buggy :) If you are already logged
into launchpad (as I was) then you don't get the authentification/permission
question in the browser, you just get a message saying you are already logged
in. Logging out then trying again worked.

tags: added: apport-collected precise
description: updated
Revision history for this message
Duncan Sands (baldrick-free) wrote : Dependencies.txt

apport information

Revision history for this message
Duncan Sands (baldrick-free) wrote : ProcEnviron.txt

apport information

Revision history for this message
Evan Peck (colors) wrote :

Duncan,

Huh. Strange. The comment order is:
#1, #2, #3, #4, #7, #5, #6
Hmmmmm...
Thank you for runnung Apport, anyway! :)

Thank you!
Evan Peck

Changed in gzip (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gzip (Ubuntu) because there has been no activity for 60 days.]

Changed in gzip (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.