axkibe/lsyncd — Issue #73: rm: cannot remove `/data/test//aaaa/txt.txt': Permission denied
Author: axkibe
Created: 2011-11-16 15:08:16+00:00
State: open

Originally filed by wfor...@gmail.com on 2011-07-12T20:03:27

Hi, I am testing lsyncd
I have two identical servers with identical directory structure.
Syncing these two servers are working fine for creating directories and/or files.
The problem is when deleting directories/files I always get permission denied.
But when I restart lsyncd these directories/files are delted without problem.

What is the expected output? What do you see instead?
Directories/Files should be deleted on the remote server without restarting lsyncd

What version of the product are you using? On what operating system?
Debian squeeze, lsyncd version 2.0.4

Please provide any additional information below.
My config file looks like

settings = {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd.status",
}

sync{default.rsyncssh, source="/data/test", host="rsyncuser@10.0.0.1", targetdir="/data/test", rsyncOps={"-vaxA", "--rsync-path=sudo rsync"}}