Displaying 1 result from an estimated 1 matches for "mydirlink".
Did you mean:
my_dir_link
2007 Nov 04
1
Keeping individual dirlinks
...d from trimming a trailing /. off of source arguments
(at least as an option), one could keep a dirlink by passing it as an
additional source argument with a /. and excluding the non-/. version so
that rsync does not see the symlink to convert it to a directory:
rsync -a --relative --exclude='/mydirlink' src/./ src/./mydirlink/.
AFAICT, this wouldn't worsen daemon security because any destination
symlink a crafty client could follow using the /. syntax he could
already follow by passing a destination path that goes through it.
Matt