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: Bachsau <web <at> bachsau.name>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 25699 <at> debbugs.gnu.org
Subject: bug#25699: GZIPs deprecated environment variable
Date: Tue, 14 Feb 2017 00:48:55 +0100
[Message part 1 (text/plain, inline)]
Am 13.02.2017 um 03:28 schrieb Paul Eggert:
> 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.)

Of course I can. Until my distributions package manager replaces that 
file again with the next regular update. You should know it is almost 
always a bad idea to edit any files in /bin /sbin and /usr/*. The only 
solution to this might be to place a script like this in /usr/local/bin, 
that will only work if the script thats calling it is using the right 
$PATH and does not refer directly to /bin/gzip.

[smime.p7s (application/pkcs7-signature, attachment)]

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.