Bug 745585 - rsync does not copy write-protected source dirs
Summary: rsync does not copy write-protected source dirs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rsync
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Vojtech Vitek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-12 18:46 UTC by Andrei Gaponenko
Modified: 2015-03-04 23:57 UTC (History)
4 users (show)

Fixed In Version: rsync-3.0.8-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-11 01:23:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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