#639148 lsyncd: does not sync file permissions by default?

Package:
lsyncd
Source:
lsyncd
Description:
daemon to synchronize local directories using rsync
Submitter:
Timo Juhani Lindfors
Date:
2011-08-24 15:51:04 UTC
Severity:
normal
#639148#5
Date:
2011-08-24 15:49:56 UTC
From:
To:
This is either a bug or a wishlist to document the behavior. I just
noticed that file permissions are not synced. strace reveals

execve("/usr/bin/rsync", ["/usr/bin/rsync", "--delete", "-r", "-lts", "/home/www-data/www.metsahovi.fi/", "horizon.metsahovi.fi:/srv/www/www.metsahovi.fi/"], [/* 17 vars */] <unfinished ...>

Is this intentional? If yes, I would suggest you add an example that
shows how you can configure lsyncd to sync also file permissions.

It seems that

sync{default.rsyncssh, source="/home/www-data/www.metsahovi.fi/", host="horizon.metsahovi.fi", targetdir="/srv/www/www.metsahovi.fi", rsyncOps="-lsptgoD"}

works but I would not have found this without looking at strace and
figuring out the problem.