Another chdir issue I'm afraid

2 posts / 0 new
Last post
Last seen: 14 years 10 months ago
Joined: 01.05.2008 - 21:33
Another chdir issue I'm afraid

I am using Rsync on Windows to try and mirror a share onto a Linux box. The rsync is initiated by the Linux box (a NAS device actually), and I have the Rsync server (cwrsync) running as a service.

I have set CYGWIN=nontsec in the system environment and started the service. For a test I run the following command:

rsync -av /cygdrive/c/temp

I then get the error "rsync: unable to chdir" and it exits.

I have ran this from the Linux box and get the same (though with a different destination obviously).

The rsync.conf is:

use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file =

# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work

path = /cygdrive/d/agent
read only = true
transfer logging = yes

It is definitely making a connection to the service because if it is shut off we get connection refused.

Any ideas?

Last seen: 6 hours 2 min ago
Joined: 01.05.2008 - 21:33
Re: Another chdir issue I'm afraid

This is probably a permission issue. If you have installed cwrsync server without openssh component, the service account SvcwRsync is an ordinary user without administrative privileges. Make sure that it has at least read permissions on the directory behind the backup module.

Topic locked

Release news