DO NOT REPLY [Bug 4873] New: rsync transfers stop when encountering Emacs autosave files with hash signs

samba-bugs at samba-bugs at
Fri Aug 10 12:20:22 GMT 2007

           Summary: rsync transfers stop when encountering Emacs autosave
                    files with hash signs
           Product: rsync
           Version: 2.6.9
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: michael.buetow at
         QAContact: rsync-qa at

I am encountering a strange behaviour with rsync (observed with 2.6.8 and 2.6.9
clients, the server is v 2.6.6 protocol version 29 as far as I can tell).

The problem is that rsync does not complete transfers when encountering emacs
autosave files, which begin and end with a hash sign, e.g. #.bashrc# .

The situation in which I observe this (reproducibly) is while synching a large
amount of data from one server to a target directory on another server which is
mounted via NFSv3. The rsyncs are spawned by an Expect script which takes care
of the password entry. Rsync is invoked as follows, e.g.

rsync -avi --numeric-ids --delete sourcehost:/src_path /local_nfs_mounts/path2/

Files are transferred until the first filename with hash signs is encountered.
This file also seems to be transferred still, but the transfer ends at that
time, and has to be re-initiated to continue with the remaining untransferred
files. I think I have also seen cases where it stops on filenames containing
only one hash sign (at front or back I do not remember).

I tried reproducing it on another machine with some small set of files, but I
could not succeed despite using the same server, and copying to an NFSv3 mount.
I also tried with a small test directory structure, copying it locally (2.6.9
server and client) and it didn't show this problem. Perhaps it is something has
been fixed since 2.6.6 ?

Sorry if this question has already been asked, but I could not find it
mentioned anywhere.


Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list