Hi,
Isn't there an issue with the order of the chown and chmod calls in gzip.c?
The source code is now :
#ifndef NO_CHOWN
/* Copy ownership */
# if HAVE_FCHOWN
ignore_value (fchown (ofd, ifstat->st_uid, ifstat->st_gid));
# elif HAVE_CHOWN
ignore_value (chown (ofname, ifstat->st_uid, if
gzip's old way had a security hole. I don't observe any problem with
gzip 1.6 on Fedora 20 (see below); maybe there was a bug in gzip 1.3.12
that's been fixed, or maybe your OS has special restrictions, or
something. You might try upgrading to 1.6, or if that doesn't work try
running 'strace