axkibe/lsyncd — Issue #5: lsyncd does not sync permissions and ownership
Author: axkibe
Created: 2011-11-16 14:54:46+00:00
State: open

Originally filed by a...@gmx.de on 2009-08-13T11:44:27

What steps will reproduce the problem?
======================================

[host A]$ touch 123
[host A]$ ll
-rw-r--r-- 1 root root 0 Aug 13 12:38 123

[host B]$ ll
-rw-r--r-- 1 root root 0 Aug 13 12:38 123

[host A]$ chown cf 123
[host A]$ ll
-rw-r--r-- 1 cf root 0 Aug 13 12:38 123

[host B]$ ll
-rw-r--r-- 1 root root 0 Aug 13 12:38 123

[host A]$ chmod +x 123
[host A]$ ll
-rwxr-xr-x 1 cf root 0 Aug 13 12:38 123

[host B]$ ll
-rw-r--r-- 1 root root 0 Aug 13 12:38 123

What is the expected output? What do you see instead?
=====================================================

I expected preserved permissions and ownerships.

What version of the product are you using? On what operating system?
====================================================================

# cat /etc/redhat-release
CentOS release 5.3 (Final)

# rsync --version
rsync version 2.6.8 protocol version 29

# lsyncd --version
Version: 1.25

Is there any option to set the expected behavior?