sync files with different attributes
I am in a situation where my destination has a different owner, file creation time and permissions. But the file content is the exactly the same. I am using --ignore-times, and -size-only. It works. However, is it possible to get rsync to change the ownership and time of the file and even owner (I am doing this as root). -- 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
RE: After successfull passwordless ssh login, unable to do rsync
Hello Hendrik and thanks for your patience in explanations ;-) Again: 1) rsync -e ssh /local/path user@remoteserver:/remote/path This will use *SSH* authentication to setup the connection, and then access the filesystem using user's rights. 2) rsync /local/path rsync://remoteserver/remote_module/path This will use RSYNCD authentication to rsync daemon modules in /etc/rsyncd.conf You do the following: a) setup a ssh tunnel (its own seperate authentication) b) then make use of (2), ie. RSYNCD connection (over the already established ssh tunnel) that will need RSYNCD authentication to the rsyncd module. Yes, indeed I follow the latter steps you detailed. Now I need to know *where* I can tell rsyncd to *not* ask for a password. Do you have a clue where to look for that? Thanks again, Flavio Boniforti PIRAMIDE INFORMATICA SAGL Via Ballerini 21 6600 Locarno Switzerland Phone: +41 91 751 68 81 Fax: +41 91 751 69 14 URL: http://www.piramide.ch E-mail: fla...@piramide.ch -- 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
[Bug 7936] Incremental file-list corruption due to temporary file_extra_cnt increments (CVE-2011-1097)
https://bugzilla.samba.org/show_bug.cgi?id=7936 Matt McCutchen m...@mattmccutchen.net changed: What|Removed |Added Summary|Random false checksum |Incremental file-list |mismatches |corruption due to temporary ||file_extra_cnt increments ||(CVE-2011-1097) --- Comment #5 from Matt McCutchen m...@mattmccutchen.net 2011-04-01 01:39:08 UTC --- The underlying bug here has potential security ramifications, so I was holding off on adding the full story until rsync 3.0.8 was released with the fix. Briefly: if --recursive, --delete, and --hard-links are on and --owner is off, a malicious sender can cause the receiver's hard-link data structures to become corrupted so as to break memory safety. I've demonstrated that this can lead to heap corruption; arbitrary code execution has been neither confirmed nor ruled out. (Some sites are claiming arbitrary code execution is known to be possible; that is incorrect, unless they know something I don't.) You can read more at https://bugzilla.redhat.com/show_bug.cgi?id=675036. See also the CVE entry at https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1097. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. -- 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