[Bug 9877] New: target file deleted in error

samba-bugs at samba.org samba-bugs at samba.org
Fri May 10 15:00:06 MDT 2013


           Summary: target file deleted in error
           Product: rsync
           Version: 3.0.6
          Platform: x64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: jacks at mid.org
         QAContact: rsync-qa at samba.org

After running rsync, I discovered that a file - libdeb.so - that exists in the
source tree had been deleted in the target tree.  The specific command was....

rsync -aivc \
        --delete \
        --log-file=/home/oracle/logs/refresh_thrd_apps.log \
        /mnt/oradb10-bkp20/oracle/src_r12_apps_prd/ \

/mnt/oradb10-bkp20 is an NFS file system mounted ReadOnly and /d00 is a local
file system.

I have verified that libdeb.so exists in the source tree and I have no evidence
that it was every deleted.  (The source tree was created using rsync.)

After discovering that libdeb.so was missing, I reran the rsync command which
copied libdeb.so into the correct location.

I did not notice any error messages while rsync was running.  The only unusual
situation was that the /tmp file system had no free space after the original
rsync execution but I cleaned up the /tmp file system before the last rsync

Is it possible that running out of space on /tmp could have caused the error? 
If so, my preference would be for rsync to fail and report the error.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list