The CVS change log for revision 1.6 of gzip.c says "Invoke chmod before chown, to close a race condition." But the change actually moves chown before chmod. With chown before chmod, if you don't own the file, you won't be able to change the permissions, and they will be left at 0600, and gzip reports "Operation not permitted". Is this intentional?
-- Russ