samba-bugs@samba.org
2006-Aug-16 20:16 UTC
DO NOT REPLY [Bug 4023] New: Rsync does not copy files recursively when using ssh public key authorization and the files-from option
https://bugzilla.samba.org/show_bug.cgi?id=4023
Summary: Rsync does not copy files recursively when using ssh
public key authorization and the files-from option
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: swhitehouse@novell.com
QAContact: rsync-qa@samba.org
Setting up rsync to copy files remotely using ssh and a list of files using the
files-from option works fine until adding public key authentication instead of
requiring a password.
rsync -avzP --files-from=$RSYNCVAR --delete --ignore-errors -e "ssh -i
/home/user/.ssh/id_rsa"
user@host.domain.com:/srv/www/htdocs/gwcode/files/rsync/
/opt/novell/groupwise/mail/code
The file containing the list points has two directories and a list of four
files in it. The files at the root of the path copy correctly, but the files in
the sub-directories do not. This works fine when the authkey is removed and a
password is entered.
--
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-Aug-16 20:41 UTC
DO NOT REPLY [Bug 4023] Rsync does not copy files recursively when using ssh public key authorization and the files-from option
https://bugzilla.samba.org/show_bug.cgi?id=4023
swhitehouse@novell.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Comment #1 from swhitehouse@novell.com 2006-08-16 15:40 MST -------
Adding a -r to the command enables recursive functionality.
The -r was not necessary for recursivity however without the public key.
Strange behavior.
--
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-Aug-19 00:23 UTC
DO NOT REPLY [Bug 4023] Rsync does not copy files recursively when using ssh public key authorization and the files-from option
https://bugzilla.samba.org/show_bug.cgi?id=4023
------- Comment #2 from hashproduct+rsync@gmail.com 2006-08-18 19:23 MST
-------
Right, the man page says that -a doesn't imply -r when --files-from is
enabled.
If you can reproduce the incorrect behavior of recursing even without -r and
you have rsync 2.6.8 on both machines, we should investigate further. I could
not reproduce it. I set up a scenario with password authentication and the
following command:
rsync -avzP --files-from=list --delete --ignore-errors localhost:tmp/src/
dest
Rsync correctly did not recurse into a directory I named in the --files-from
list.
--
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.