Comment 8 for bug 365242

Revision history for this message
John Lenton (chipaca) wrote : Re: [Bug 365242] Re: handle symlinks in syncdaemon

On Wed, Jun 24, 2009 at 11:52:09AM -0000, Paul Sladen wrote:
> Can somebody clarify what is happening? Is u1sync-daemon trying to
> spider across a symlink?

symlinks are ignored by the client, and not supported by the server.

> AFAICT, this symlinks should be handled in just the same way as any
> other filesystem/remote filesystem/rsync/etc handles them. That is the
> symlink should be copied (and the same with all other special nodes such
> as fifos/device notes) and the symlink should not be dereferenced.

that is the problem with symlinks: some people want them to be copied
as symlinks, and some people want them dereferenced. And although real
POSIX remote filesystems should support them, many remote/distributed
filesystems do not; to name two, neither dropbox nor SMB (afaict) do:
the first dereferences the link, and the second runs around in
circles, screaming and waving its paws in the air.