Bug 745585

Summary: rsync does not copy write-protected source dirs
Product: [Fedora] Fedora Reporter: Andrei Gaponenko <gandr>
Component: rsyncAssignee: Vojtech Vitek <vvitek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: hripps, robatino, ssorce, vvitek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rsync-3.0.8-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-11 01:23:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrei Gaponenko 2011-10-12 18:46:53 UTC
Hi,

When trying to copy a directory tree, rsync loses files in write-protected subdirectories.   Example:

$ mkdir src dst
$ mkdir src/aaa
$ touch src/aaa/bbb
$ chmod -R a-w src/aaa
$ rsync -av src/aaa dst/

sending incremental file list
aaa/
aaa/bbb
rsync: mkstemp "/home/f16beta/andr/tmp/ccc/dst/aaa/.bbb.OfjHsL" failed: Permission denied (13)

sent 105 bytes  received 35 bytes  280.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.8]


This is similar to #743479 reported against Fedora-14; however in Fedora-16 I see this behavior for local transfers, not just for rsync-over-ssh.

Andrei

Comment 1 Fedora Update System 2011-10-31 14:44:41 UTC
rsync-3.0.8-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/rsync-3.0.8-2.fc15

Comment 2 Fedora Update System 2011-10-31 14:44:54 UTC
rsync-3.0.8-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/rsync-3.0.8-2.fc14

Comment 3 Fedora Update System 2011-10-31 14:45:08 UTC
rsync-3.0.8-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/rsync-3.0.8-2.fc16

Comment 4 Fedora Update System 2011-10-31 21:23:31 UTC
Package rsync-3.0.8-2.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rsync-3.0.8-2.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-15141
then log in and leave karma (feedback).

Comment 5 Andrei Gaponenko 2011-11-02 15:23:48 UTC
Hi, 

rsync-3.0.8-2.fc14 fixes the problem.
Thank you!  Karma's been left.

Andrei

Comment 6 Fedora Update System 2011-11-11 01:23:45 UTC
rsync-3.0.8-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-11-20 23:54:35 UTC
rsync-3.0.8-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-11-25 23:28:01 UTC
rsync-3.0.8-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.