samba-bugs at samba.org
2011-May-29 15:48 UTC
[Bug 8183] New: rsync 3.0.8 can't modify read-only directories created on the same run
https://bugzilla.samba.org/show_bug.cgi?id=8183 Summary: rsync 3.0.8 can't modify read-only directories created on the same run Product: rsync Version: 3.0.8 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: kierson.anderson at gmail.com QAContact: rsync-qa at samba.org I have a directory tree that is composed of read-only directories. Prior to 3.0.8, it was possible to create backup copies of the directory tree using rsync -a, but with 3.0.8, I'm getting permission denied errors from rsync as it tries to create subdirectories and temporary files. There is no problem if the read-only directory already exists in the destination tree, even if it is read-only. As a consequence, multiple runs of rsync eventually succeed in copying the entire tree. The following tcsh interaction (on a 64-bit Fedora 13 system) demonstrates the problem. I have not tried to reproduce the problem on any other operating system. % mkdir -p /tmp/t1/t2/t3 % touch /tmp/t1/t2/t3/t4 % chmod -R 550 /tmp/t1 % rsync -a /tmp/t1/ /tmp/t1a rsync: recv_generator: mkdir "/tmp/t1a/t2" failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync error: some files/attrs were not transferred (see previous errors) (code>% rsync -a /tmp/t1/ /tmp/t1a rsync: recv_generator: mkdir "/tmp/t1a/t2/t3" failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync error: some files/attrs were not transferred (see previous errors) (code>% rsync -a /tmp/t1/ /tmp/t1a rsync: mkstemp "/tmp/t1a/t2/t3/.t4.kYCSKH" failed: Permission denied (13) rsync error: some files/attrs were not transferred (see previous errors) (code>% rsync -a /tmp/t1/ /tmp/t1a % Each run creates a bit more of the destination tree until the entire tree is finally copied, and the last run gives no errors. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2011-May-30 15:51 UTC
[Bug 8183] rsync 3.0.8 can't modify read-only directories created on the same run
https://bugzilla.samba.org/show_bug.cgi?id=8183 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Version|3.0.8 |3.1.0 Resolution| |FIXED --- Comment #1 from Wayne Davison <wayned at samba.org> 2011-05-30 15:51:37 UTC --- I've committed a fix for this to git. You can see it here: http://gitweb.samba.org/?p=rsync.git -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Possibly Parallel Threads
- randomized block design analysis PROBLEM
- [LLVMdev] Excessive register spilling in large automatically generated functions, such as is found in FFTW
- Fancy MySQL footwork
- Means from balanced incomplete block design
- [LLVMdev] Unrolling an arithmetic expression inside a loop