Bug 2795 - tardet of symlinks not correct on destination
Summary: tardet of symlinks not correct on destination
Status: CLOSED WONTFIX
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.3
Hardware: Sparc Solaris
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 13:36 UTC by Daniel Carnes
Modified: 2006-03-12 02:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Carnes 2005-06-13 13:36:31 UTC
Source: 
relative.test -> ../../../tmp/dantest
symlink2.test -> /tmp/dantest

Destination:
relative.test -> tmp/dantest
symlink2.test -> tmp/dantest
RSYNC CODE:
rsync -vlrz -e ssh --rsync-path="$RPATH rsyncd --daemon --config=$CONFIGFILE" 
$SOURCE $LOGNAME@$REMOTESERVER::$MODULE
MODULE
Can someone explain why this occurs, and if there is something that I can do to 
fix this?
Comment 1 Wayne Davison 2005-06-13 15:04:21 UTC
This is what daemon mode does to prevent links from going outside the root of
the module's path when chroot isn't enabled.  If you want symlinks to be
preserved exactly as specified on the sending side, turn chroot on in the
daemon's config.