The branch, master has been updated via eb1b138e Clarify the cut-off point for --copy-safe-links. from 13f59643 Some doc tweaks suggested by Clément Pit-Claudel.
https://git.samba.org/?p=rsync.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit eb1b138ec2b363268acfef07e1face7c4e662409 Author: Wayne Davison <way...@samba.org> Date: Sat Mar 16 10:55:21 2019 -0700 Clarify the cut-off point for --copy-safe-links. ----------------------------------------------------------------------- Summary of changes: rsync.yo | 7 +++++++ 1 file changed, 7 insertions(+) Changeset truncated at 500 lines: diff --git a/rsync.yo b/rsync.yo index df876022..207d487e 100644 --- a/rsync.yo +++ b/rsync.yo @@ -939,6 +939,13 @@ are also treated like ordinary files, and so are any symlinks in the source path itself when bf(--relative) is used. This option has no additional effect if bf(--copy-links) was also specified. +Note that the cut-off point is the top of the transfer, which is the part of +the path that rsync isn't mentioning in the verbose output. If you copy +"subdir" to "/dest/" then the subdir directory is a name inside the transfer +tree, not the top of the transfer (its parent directory is the top) so it is +legal for created relative symlinks to refer to other names inside the /dest +dir. + dit(bf(--safe-links)) This tells rsync to ignore any symbolic links which point outside the copied tree. All absolute symlinks are also ignored. Using this option in conjunction with bf(--relative) may -- The rsync repository.
_______________________________________________ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs