samba-bugs@samba.org
2006-Mar-09 15:56 UTC
DO NOT REPLY [Bug 3594] New: --delete doesn't delete destination files that don't exist at the source
https://bugzilla.samba.org/show_bug.cgi?id=3594
Summary: --delete doesn't delete destination files that don't
exist at the source
Product: rsync
Version: 2.6.7
Platform: PPC
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: davidleonard@lakesidecamera.com
QAContact: rsync-qa@samba.org
Here's what I'm doing .. any thoughts?
Marketing-Station:~/Desktop Graphics$ rsync -av --delete source/ destination/
building file list ... done
created directory destination
./
.DS_Store
content/
content/.DS_Store
content/logo_green_w_tag.eps
content/logo_green_w_tag.jpg
content/logo_green_w_tag.pdf
content/logo_white_w_tag.eps
content/logo_white_w_tag.jpg
content/logo_white_w_tag.pdf
sent 1491344 bytes received 180 bytes 2983048.00 bytes/sec
total size is 1490564 speedup is 1.00
Marketing-Station:~/Desktop Graphics$ rsync -av --delete source/ destination/
building file list ... done
rsync: delete_one: unlink
"/Users/Graphics/Desktop/destination/content/logo_white_w_tag.eps"
failed:
Unknown error: 0 (0)
content/
content/.DS_Store
sent 12582 bytes received 40 bytes 25244.00 bytes/sec
total size is 883907 speedup is 70.03
rsync error: some files could not be transferred (code 23) at
/SourceCache/rsync/rsync-23/rsync/main.c(717)
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2006-Mar-10 16:25 UTC
DO NOT REPLY [Bug 3594] --delete doesn't delete destination files that don't exist at the source
https://bugzilla.samba.org/show_bug.cgi?id=3594
wayned@samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Version|2.6.7 |2.6.3
------- Comment #1 from wayned@samba.org 2006-03-10 10:25 MST -------
First, check the version of rsync using "rsync --version". The error
message
you cited hasn't existed in rsync since 2.6.3, so I bumped the version back
to
that for a start. Is this version modified by Apple?
Another question: am I to assume that logo_white_w_tag.eps was actually deleted
from the source/content directory before the second transfer?
I looked at the robust_unlink() code in utils.c of the various recent versions,
and I didn't see a way for the code to return an error with errno == 0
unless
the actual unlink() function did this.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2006-Oct-08 21:31 UTC
DO NOT REPLY [Bug 3594] --delete doesn't delete destination files that don't exist at the source
https://bugzilla.samba.org/show_bug.cgi?id=3594
wayned@samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WORKSFORME
------- Comment #2 from wayned@samba.org 2006-10-08 16:30 MST -------
Cannot reproduce this one, and the bug reporter is not responding to questions.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.