DO NOT REPLY [Bug 5528] New: rsync deletes files it shouldn't evenlook at!

This is a discussion on DO NOT REPLY [Bug 5528] New: rsync deletes files it shouldn't evenlook at! within the Rsync forums, part of the Networking and Network Related category; https://bugzilla.samba.org/show_bug.cgi?id=5528 Summary: rsync deletes files it shouldn't even look at! Product: rsync ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-09-2008
samba-bugs@samba.org
 
Posts: n/a
Default DO NOT REPLY [Bug 5528] New: rsync deletes files it shouldn't evenlook at!

https://bugzilla.samba.org/show_bug.cgi?id=5528

Summary: rsync deletes files it shouldn't even look at!
Product: rsync
Version: 3.0.3
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: samba@ote.taranis.org
QAContact: rsync-qa@samba.org


Looked at the "NOTABLE CHANGES" section in 3.0.0 but i didn't see anything that
sounded like this should work differently:

$ rm -rf /tmp/RTEST ; mkdir -p /tmp/RTEST/SRC /tmp/RTEST/TARGET/foo
$ /z/pkgs/rsync-2.6.9/bin/rsync -v -a --ignore-existing --delete
/tmp/RTEST/SRC/ /tmp/RTEST/TARGET/oink
building file list ... done
../

sent 76 bytes received 26 bytes 204.00 bytes/sec
total size is 0 speedup is 0.00

^^^^^ As expected.

$ rm -rf /tmp/RTEST ; mkdir -p /tmp/RTEST/SRC /tmp/RTEST/TARGET/foo
$ /z/pkgs/rsync-3.0.3pre2/bin/rsync -v -a --ignore-existing --delete
/tmp/RTEST/SRC/ /tmp/RTEST/TARGET/oink
sending incremental file list
deleting foo/

sent 39 bytes received 12 bytes 102.00 bytes/sec
total size is 0 speedup is 0.00

^^^^^ ARG!!!

Note that /tmp/RTEST/SRC/ needs to be empty and /tmp/RTEST/TARGET/oink mustn't
exist for this to happen.


--
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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply With Quote
  #2 (permalink)  
Old 06-09-2008
samba-bugs@samba.org
 
Posts: n/a
Default DO NOT REPLY [Bug 5528] rsync deletes files it shouldn't even lookat!

https://bugzilla.samba.org/show_bug.cgi?id=5528


wayned@samba.org changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED




------- Comment #1 from wayned@samba.org 2008-06-09 09:53 CST -------
This was caused by the transfer having just a single directory in it, and the
delete-during code wasn't using the "solo-file" alternate directory name.

The git repository now has a fix for this. Thanks for the report!


--
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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0