Bug 10494 - remove-source-files fails with symlinks
remove-source-files fails with symlinks
Product: rsync
Classification: Unclassified
Component: core
x64 Linux
: P5 major
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2014-03-10 22:04 UTC by afried
Modified: 2015-07-12 20:28 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description afried 2014-03-10 22:04:17 UTC
Up thru 3.0.9 transferring symlinks using "-L --remove-source-files" properly transferred the files and removed the symlinks.

Beginning with 3.1.0 this no longer works; the files transfer properly but the symlinks on the source server fail to get deleted. This error message is displayed:

ERROR: Skipping sender remove for changed file: [transferred file name]

I have not been able to find a workaround to this problem, other than downgrading from 3.1.0 back to 3.0.9.
Comment 1 Wayne Davison 2015-07-12 20:28:51 UTC
That's weird, as it means that the source symlink must differ in size or modify time from what rsync put into the source file list.  However, since that safety check is only really needed for regular files, I've added some code that should avoid this failure for symlinks and devices.