GNU bug report logs - #25699
GZIPs deprecated environment variable

Previous Next

Package: gzip;

Reported by: Bachsau <dev <at> bachsau.com>

Date: Sun, 12 Feb 2017 23:40:02 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bachsau <web <at> bachsau.name>
Cc: 25699 <at> debbugs.gnu.org
Subject: bug#25699: GZIPs deprecated environment variable
Date: Sun, 12 Feb 2017 18:28:58 -0800
Bachsau wrote:
> I can use an alias or script as suggested by gzip itself, but that will
> not be picked up by update scripts and such stuff

Sure it will. Just rename /bin/gzip to /bin/gzip.real, and create a shell script 
/bin/gzip that looks like this:

#!/bin/sh
exec gzip.real -9 "$@"

You're the sysadmin, so you can do this. (And if you were not the sysadmin, you 
wouldn't be able to edit any global configuration file either.)

The GZIP environment variable leads to functionality and security problems, 
which is why it's being deprecated.




This bug report was last modified 183 days ago.

Previous Next


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