Bug 1816528 - Defaults for --skip-compress are not working, everything is being compressed
Summary: Defaults for --skip-compress are not working, everything is being compressed
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rsync
Version: 8.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.0
Assignee: Michal Ruprich
QA Contact: Ondrej Mejzlik
Depends On:
TreeView+ depends on / blocked
Reported: 2020-03-24 08:43 UTC by Simon Matter
Modified: 2021-05-18 14:56 UTC (History)
2 users (show)

Fixed In Version: rsync-3.1.3-12.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-05-18 14:55:59 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)
Patch (991 bytes, patch)
2020-08-26 10:45 UTC, Michal Ruprich
no flags Details | Diff

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:1622 0 None None None 2021-05-18 14:56:05 UTC
Samba Project 14323 0 None None None 2020-03-24 08:43:04 UTC

Description Simon Matter 2020-03-24 08:43:04 UTC
Description of problem:
When syncing with compression (-z), certain file types should not be compress during the transfer because they are already compressed. The file types which are not to be compressed can be seen in the man page.

Version-Release number of selected component (if applicable):
All versions since 3.1.0

How reproducible:

Steps to Reproduce:
1. run 'rm -f Z ; rsync -azv alpha:z.gz Z'

Actual results:
Transferred data was compressed during the transfer:
sent 43 bytes  received 63,873 bytes  25,566.40 bytes/sec
total size is 628,952  speedup is 9.84

Expected results:
No compression should happen.

Additional info:
Note that the source file 'z.gz' was an ascii text file to show clearly that compression took place.

Comment 3 Michal Ruprich 2020-08-26 10:45:34 UTC
Created attachment 1712666 [details]

Comment 15 errata-xmlrpc 2021-05-18 14:55:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rsync bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.