0

While doing Lsyncd i am unable to transfer the file permissions and ownership of files in source server to the destination server.

settings {
        logfile = "/var/log/lsyncd/lsyncd.log",
        statusFile = "/var/log/lsyncd/lsyncd.status",
   statusInterval = 20,
   nodaemon   = false
}

sync {
        default.rsyncssh,
        source = "/hdfs/hdd004",
        host = "10.100.1.23",
        targetdir = "/hdfs/hdd011/testdab",
        rsync = { rsh = "/usr/bin/ssh -l tne -i /home/tne/id_rsa*" }
     }
        rsync = {
        update = true,
        archive = true,
        times = true,
        perms = true,
        group = true,
        owner = true,
        compress = true,
        acls = true,
        xattrs = true,
        _extra = {"-a"},
}

0 Answers0