Description of problem: Lsyncd version 2.1.4 is unable to synchronize group ownership properly. How reproducible: Always. Steps to Reproduce: 1. Attempt to sync folders with following settings : sync{ default.rsyncssh, source="/folder", host="192.168.0.2", targetdir="/folder", ssh = { port=1022 }, rsync = { owner=true, _extra={"-g"}, } } Actual results: Group ownership of the transferred files/directories on target is set to main group of user running lsyncd, root in case of daemon started from sysvinit Expected results: With additional parameter in _extra rsync should be preserving group ownership too. Additional info: Lsyncd version 2.1.4 has a bug causing it to ignore setting to rsync if you specify custom ssh port in the same sync object, among others. This prevents user from having group ownership synced to target location, which right now can be only passed via "_extra" parameter.There is stable version 2.1.5 that seems to be fixing this behaviour (https://github.com/axkibe/lsyncd/blob/master/ChangeLog). I've build 2.1.5 RPM and seems to be working as expected.
lsyncd-2.1.5-0.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/lsyncd-2.1.5-0.el6
Package lsyncd-2.1.5-0.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing lsyncd-2.1.5-0.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6680/lsyncd-2.1.5-0.el6 then log in and leave karma (feedback).
lsyncd-2.1.5-0.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.