[Bug 3198] rsyncing a file to a dest path where dirname(path) is a

This is a discussion on [Bug 3198] rsyncing a file to a dest path where dirname(path) is a within the Rsync forums, part of the Networking and Network Related category; https://bugzilla.samba.org/show_bug.cgi?id=3198 ------- Additional Comments From hashproduct@verizon.net 2005-10-20 13:37 ------- A ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-20-2005
samba-bugs@samba.org
 
Posts: n/a
Default [Bug 3198] rsyncing a file to a dest path where dirname(path) is a

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





------- Additional Comments From hashproduct@verizon.net 2005-10-20 13:37 -------
A side note in case anyone is interested:

My custom rsync, in order to observe default ACLs correctly, needed a change to
the behavior of "get_local_name". Even if only a single source file is being
transferred to a single destination file, the receiving rsync changes into the
directory of the destination file. (In fact, I found the idea of "local names"
so confusing that I rewrote "get_local_name", adding additional comments and
verbose output.)

A side effect of the change is that, on my rsync, "rsync -v foo bar/cuz" will
fail during file selection as it should. It says:
rsync: push_dir#2.5 "/path/to/bar/cuz" failed: No such file or directory (2)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(498)
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)
(I just realized that while the attempted push_dir is correct, the path in the
error message is wrong: it should be "/path/to/bar". I'll fix this.)

My rsync is available here:
http://mysite.verizon.net/hashproduct/myrsync/

--
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.
--
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 05:30 AM.


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