From: Martin Pool Date: Mon, 8 Apr 2002 05:30:28 +0000 (+0000) Subject: Clarify meaning of unsafe symlinks X-Git-Tag: v2.5.6~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bd0cf5b8f25eb002dd10f5b72081d2b3a537efb;p=thirdparty%2Frsync.git Clarify meaning of unsafe symlinks --- diff --git a/rsync.yo b/rsync.yo index 6282e635..e17ca044 100644 --- a/rsync.yo +++ b/rsync.yo @@ -910,6 +910,10 @@ bf(--copy-unsafe-links) will cause any links to be copied as the file they point to on the destination. Using bf(--safe-links) will cause unsafe links to be ommitted altogether. +Symbolic links are considered unsafe if they are absolute symlinks +(start with bf(/)), empty, or if they contain enough bf("..") +components to ascend from the directory being copied. + manpagesection(DIAGNOSTICS) rsync occasionally produces error messages that may seem a little