[Bug 2758] "File exists" error using options -b and --backup-dir with device files.

samba-bugs at samba.org samba-bugs at samba.org
Tue Jun 7 17:56:39 GMT 2005


------- Additional Comments From wayned at samba.org  2005-06-07 10:56 -------
Created an attachment (id=1264)
 --> (https://bugzilla.samba.org/attachment.cgi?id=1264&action=view)
A partial fix

My version of the quick-fix that only deals with removing a device/file/symlink
that's in the way of a device or symlink.  It also fixes a couple problems in
the logic in the code for backing up a device or a symlink.

I didn't see any reason to constrain the prior object backed up to being
another device when backing up a device, so my code just tries to get rid of
anything that's in the way.  It will still fail for dir/non-dir mismatches, but
that's a deeper problem that has been around for a very long time.

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.

More information about the rsync mailing list