[Bug 11726] rsync fails to copy directory containing ancestor symlink with --copy-links

samba-bugs at samba.org samba-bugs at samba.org
Thu Feb 11 16:06:49 UTC 2016


https://bugzilla.samba.org/show_bug.cgi?id=11726

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|rsync fails to copy         |rsync fails to copy
                   |directory containing        |directory containing
                   |ancestor symlink (..)       |ancestor symlink with
                   |                            |--copy-links

--- Comment #5 from Wayne Davison <wayned at samba.org> ---
Keep in mind that "cp -r" doesn't dereference symlinks -- that takes their -L
option (similar to rsync's --copy-links). If someone is copying a file tree and
turning symlinks into real files/dirs, they should really know in advance what
the symlinks are in order for the copy to be safe. Yes, we could stop looping
with some additional checks. It might be worth it to at least not follow '.'
and "..".

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list