When using "-r" gzip will try to restore the atime and mtime of the directory passed using utime(), thus breaking cache invalidation for NFS (which relies on the mtime). The code does this on purpose: /* If the input name is that of a directory, recurse or ignore: */ if (S_ISDIR(istat.st_mode)) { #if ! NO_DIR if (recursive) { struct stat st; st = istat; treat_dir(iname); /* Warning: ifname is now garbage */ # ifndef NO_UTIME reset_times (iname, &st); # endif } else I tried mailing Jean-Loup and the bug list (as per http://www.math.utah.edu/docs/info/gzip_8.html#SEC11 followed from gzip.org) without success (bounced mails). What's the reasoning behind restoring the mtime for the directory?
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0502.html
The gzip errata packge does fix this bug. Closing ticket. Thanks! Internal Status set to 'Resolved' Status set to: Closed by Client This event sent from IssueTracker by jmbastia issue 106657