samba-bugs at samba.org
2014-May-26  00:41 UTC
[Bug 10629] New: rsync follows symlinks that point to same directory / endless loop
https://bugzilla.samba.org/show_bug.cgi?id=10629
           Summary: rsync follows symlinks that point to same directory /
                    endless loop
           Product: rsync
           Version: 3.1.1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: kim at evolution7.com.au
         QAContact: rsync-qa at samba.org
Hi,
when using "--copy-links" and there is a symlink which points to the
same
directory rsync should not follow. Else it runs into an endless loop and
throws"
"failed: Too many levels of symbolic links (40)"
Cheers,
Kim
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2021-Nov-08  22:19 UTC
[Bug 10629] rsync follows symlinks that point to same directory / endless loop
https://bugzilla.samba.org/show_bug.cgi?id=10629
Timothee Besset <ttimo at ttimo.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ttimo at ttimo.net
--- Comment #1 from Timothee Besset <ttimo at ttimo.net> ---
This problem still exists in rsync v3.2.3. `--copy-links` cannot be used when
symlink loops are present.
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
samba-bugs at samba.org
2021-Nov-09  02:24 UTC
[Bug 10629] rsync follows symlinks that point to same directory / endless loop
https://bugzilla.samba.org/show_bug.cgi?id=10629 --- Comment #2 from Kevin Korb <rsync at sanitarium.net> --- Since find is one of the few utilities that actually corrects for symlink loops you can use it as a workaround. Something like: cd /source/path ; find -L . -print | rsync ... --copy-links --files-from=- ./ /target/path/ -- You are receiving this mail because: You are the QA Contact for the bug.