Bug 2795 - tardet of symlinks not correct on destination
tardet of symlinks not correct on destination
Status: CLOSED WONTFIX
Product: rsync
Classification: Unclassified
Component: core
2.6.3
Sparc Solaris
: P3 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
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.